[Python-modules-team] Bug#763389: python-virtualenv: Error when attempting to create a pypy virtualenv
Mikael Taina
fbb.foobar at gmail.com
Mon Sep 29 20:26:48 UTC 2014
Package: python-virtualenv
Version: 1.11.6-2
Severity: important
Dear Maintainer,
Installing new virtualenv while configuring pypy as the used interpreter fails
installed pypy packages are:
ii pypy 2.3.1+dfsg-1 amd64
ii pypy-dev 2.3.1+dfsg-1 all
ii pypy-lib 2.3.1+dfsg-1 all
To reproduce, run:
~ $ virtualenv --python pypy pypytest
Outcome:
Running virtualenv with interpreter /usr/bin/pypy
New pypy executable in pypytest/bin/pypy
Installing setuptools, pip...
Complete output from command /home/mikael/tmp/pypytest/bin/pypy -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "app_main.py", line 75, in run_toplevel
File "app_main.py", line 581, in run_it
File "<string>", line 1, in <module>
ZipImportError: cannot import name 'CertificateError'
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
File "app_main.py", line 75, in run_toplevel
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 1032, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 975, in install_wheel
'PIP_NO_INDEX': '1'
File "/usr/lib/python3/dist-packages/virtualenv.py", line 917, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/mikael/tmp/pypytest/bin/pypy -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
Expected outcome would be a new clean virtualenv, like without the --python argument
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-virtualenv depends on:
ii python 2.7.8-1
ii python-pip-whl 1.5.6-2
ii python-pkg-resources 5.5.1-1
ii python-setuptools-whl 5.5.1-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