[Python-modules-team] Bug#821223: Unable to create a virtualenv: invalid requirement: '_markerlib'
Vincent Bernat
bernat at debian.org
Sat Apr 16 19:25:21 UTC 2016
Package: virtualenv
Version: 15.0.1+ds-1
Severity: grave
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hey!
For some reason, I now get the following error message when trying to
initialize a new virtualenv:
virtualenv --no-site-packages tip
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/bernat/tmp/tip/bin/python2
Also creating executable in /home/bernat/tmp/tip/bin/python
Installing setuptools, pkg_resources, _markerlib, pip, wheel...
Complete output from command /home/bernat/tmp/tip/bin/python2 - setuptools pkg_resources _markerlib pip wheel:
Invalid requirement: '_markerlib'
Traceback (most recent call last):
File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_install.py", line 77, in __init__
req = pkg_resources.Requirement.parse(req)
File "/home/bernat/tmp/tip/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2806, in parse
req, = parse_requirements(s)
File "/home/bernat/tmp/tip/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2754, in parse_requirements
yield Requirement(line)
File "/home/bernat/tmp/tip/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2763, in __init__
raise RequirementParseError(str(e))
RequirementParseError: Invalid requirement, parse error at "'_markerl'"
- ----------------------------------------
...Installing setuptools, pkg_resources, _markerlib, pip, wheel...done.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2364, in <module>
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 989, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/bernat/tmp/tip/bin/python2 - setuptools pkg_resources _markerlib pip wheel failed with error code 1
I get the same problem with "python -m virtualenv".
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages virtualenv depends on:
ii python3 3.5.1-3
ii python3-virtualenv 15.0.1+ds-1
virtualenv recommends no packages.
virtualenv suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXEpGdAAoJEJWkL+g1NSX5O1kP/0vDwcRpqjzYcyLyBom4mbmW
ERT/OXDt8vSjz9isNqAo/nkr4Dc7QKO+nL4I1xXh0NA67/6LRiXTrKDYcueRq+Yo
6+ACAxIEiJ26ObzMU+9RbVjO+/hO/qu3JhSMy3JoLnvqIJ7K47K3l0DsH+imWzwy
4QiPp5hxtZasZI2chiL/+IYcKasMf0Dk9rSeH7Rcy43W6LLi4Afw6YXoWf92heLI
+6aMHIAfWJT9CjfjNdmGxUXxnGt4A2hNtXcynyw1gSWm2nwskT0Ft8GurdUiD2ln
kdPXenRpPWo1roWIKGdR5A8mk8PPiGz4mrJXm4siAZYlGgB2a4LrS3GNShDsxpyz
aZ5/scoJR848FChQmeptimNa9xOP2S+PYKyP6q2w83Neo8bnBt3+Z7zSmZ5pBxdO
WamQJ37gOD+FyFRbI66u7KAjlXkwfSNW5FXg/8SHtT1BNKtGLrqtH6O3LT6QNEaj
r+NWAVd1JOj45N6z7KZ4GQJ7Y9kms7DVl80mUve34QENvA3R4CyFu7X+5LCb8sGg
XGe7/Xvv8L1jIw7HXSPyPVHKwmCAyRbasZIbSm+H0Gp+l4ucupqRou+AOdJrPHsP
fuKjmSUpGCmA1pgkRCBlaZfYx1cRRhJXxwgu4/TV1Fa/NRmMmcYfOkWXvdVdwD3p
mzaGqE0CgHSZ50QPRte3
=5fO7
-----END PGP SIGNATURE-----
More information about the Python-modules-team
mailing list