[Python-modules-team] Bug#754248: python-virtualenv: Error when attempting to create a python2.6 virtualenv
John Kristensen
john at jerrykan.com
Wed Jul 9 05:35:29 UTC 2014
Package: python-virtualenv
Version: 1.11.6-2
Severity: important
Dear Maintainer,
Attempting to create a python2.6 virtualenv using the following command:
virtualenv -p python2.6 venv
Results in the follow error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2378, in <module>
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 830, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 1016, in
create_environment
'/usr/share/python-wheels/{}-*.whl'.format(project))
ValueError: zero length field name in format
It seems to be due to the use of '{}' for string substitution which is not
compatible with python2.6.
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (460, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-virtualenv depends on:
ii python 2.7.6-2
ii python-pip-whl 1.5.6-2
ii python-pkg-resources 5.3-1
ii python-setuptools-whl 5.3-1
Versions of packages python-virtualenv recommends:
ii virtualenv 1.11.6-2
python-virtualenv suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list