毒性似乎是罪魁祸首(或者可能是它的依赖性之一)。以下是在Ubuntu 18.04上运行的。
% virtualenv /tmp/venv1
Running virtualenv with interpreter /usr/bin/python2
New python executable in /tmp/venv1/bin/python2
Also creating executable in /tmp/venv1/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
% source /tmp/venv1/bin/activate
% pip install tox
Collecting tox
Using cached https://files.pythonhosted.org/packages/d0/43/2160a300e0b77a929a980f36ac7427dcef8f4ddac7a8c21e5a8baedad828/tox-3.5.3-py2.py3-none-any.whl
Collecting filelock<4,>=3.0.0 (from tox)
Collecting six<2,>=1.0.0 (from tox)
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting virtualenv>=1.11.2 (from tox)
Using cached https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any.whl
Collecting pluggy<1,>=0.3.0 (from tox)
Using cached https://files.pythonhosted.org/packages/1c/e7/017c262070af41fe251401cb0d0e1b7c38f656da634cd0c15604f1f30864/pluggy-0.8.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=30.0.0 in /tmp/venv1/lib/python2.7/site-packages (from tox) (40.5.0)
Collecting py<2,>=1.4.17 (from tox)
Using cached https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl
Collecting toml>=0.9.4 (from tox)
Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Installing collected packages: filelock, six, virtualenv, pluggy, py, toml, tox
Successfully installed filelock-3.0.10 pluggy-0.8.0 py-1.7.0 six-1.11.0 toml-0.10.0 tox-3.5.3 virtualenv-16.1.0
% virtualenv /tmp/venv2
Using real prefix '/usr'
New python executable in /tmp/venv2/bin/python2
Also creating executable in /tmp/venv2/bin/python
Overwriting /tmp/venv2/lib/python2.7/distutils/__init__.py with new content
Installing setuptools, pip, wheel...
done.
% ls -l /tmp/venv2/lib/python2.7/*.pyc | head
lrwxrwxrwx 1 hdowner staff 36 Nov 8 16:57 /tmp/venv2/lib/python2.7/_abcoll.pyc -> /tmp/venv1/lib/python2.7/_abcoll.pyc
lrwxrwxrwx 1 hdowner staff 32 Nov 8 16:57 /tmp/venv2/lib/python2.7/abc.pyc -> /tmp/venv1/lib/python2.7/abc.pyc
lrwxrwxrwx 1 hdowner staff 35 Nov 8 16:57 /tmp/venv2/lib/python2.7/codecs.pyc -> /tmp/venv1/lib/python2.7/codecs.pyc
lrwxrwxrwx 1 hdowner staff 37 Nov 8 16:57 /tmp/venv2/lib/python2.7/copy_reg.pyc -> /tmp/venv1/lib/python2.7/copy_reg.pyc
lrwxrwxrwx 1 hdowner staff 36 Nov 8 16:57 /tmp/venv2/lib/python2.7/fnmatch.pyc -> /tmp/venv1/lib/python2.7/fnmatch.pyc
lrwxrwxrwx 1 hdowner staff 40 Nov 8 16:57 /tmp/venv2/lib/python2.7/genericpath.pyc -> /tmp/venv1/lib/python2.7/genericpath.pyc
lrwxrwxrwx 1 hdowner staff 38 Nov 8 16:57 /tmp/venv2/lib/python2.7/linecache.pyc -> /tmp/venv1/lib/python2.7/linecache.pyc
lrwxrwxrwx 1 hdowner staff 35 Nov 8 16:57 /tmp/venv2/lib/python2.7/locale.pyc -> /tmp/venv1/lib/python2.7/locale.pyc
lrwxrwxrwx 1 hdowner staff 31 Nov 8 16:57 /tmp/venv2/lib/python2.7/os.pyc -> /tmp/venv1/lib/python2.7/os.pyc
lrwxrwxrwx 1 hdowner staff 38 Nov 8 16:57 /tmp/venv2/lib/python2.7/posixpath.pyc -> /tmp/venv1/lib/python2.7/posixpath.pyc