[Python-modules-team] Bug#772730: python-pip: pyvenv created virtual environments are missing their .whl files
Barry Warsaw
barry at debian.org
Wed Dec 10 15:17:59 UTC 2014
Package: python-pip
Version: 1.5.6-4
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dear Maintainer,
When creating a virtual environment with virtualenv, the dependent
..whl files are copied into <venv>/lib/python-wheels/*.whl. This
allows pip inside such venvs to work.
However, inside pyvenv created venvs, there are no wheels in
<venv>/lib/python-wheels so pip inside pyvenv created venvs does not
work:
% pyvenv-3.4 /tmp/aa
% source /tmp/aa/bin/activate
(aa) @chemistry[~:1003]% pip install nose2
Traceback (most recent call last):
File "/tmp/aa/bin/pip", line 7, in <module>
from pip import main
File "/tmp/aa/lib/python3.4/site-packages/pip/__init__.py", line 59, in <module>
from pip.log import logger
File "/tmp/aa/lib/python3.4/site-packages/pip/log.py", line 9, in <module>
import colorama, pkg_resources
ImportError: No module named 'colorama'
% find /tmp/aa -name \*.whl | wc -l
0
- -- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-pip depends on:
ii ca-certificates 20141019
ii python 2.7.8-2
ii python-colorama 0.3.2-1
ii python-distlib 0.1.9-1
ii python-html5lib 0.999-3
ii python-pkg-resources 5.5.1-1
ii python-requests 2.4.3-5
ii python-setuptools 5.5.1-1
ii python-six 1.8.0-1
pn python:any <none>
Versions of packages python-pip recommends:
ii build-essential 11.7
pn python-dev-all <none>
ii python-wheel 0.24.0-1
python-pip suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUiGQlAAoJEBJutWOnSwa/kXUP/04IHTmD8VAtrT0+7WAyHwvs
JPTHYXvBMKtP5xB8JNktxz3mAbm8gIHgruwd6rUDM1RESr+YOy9ibsjNE0tZv6Nc
zK3dje8KvELzzEwV3ZgCMisa2FcLU/1W457YmpFW2e8I4ficldgDu4pY/LKzMYNu
jynxsVMvG8xBL2uD9k4avl+/9MaPru14Yltj3aIMpHsv2bF3aG3poa4lUsHDYkOJ
R+TnJSvsYwcP0I1Gu+DuDbEAmzPnpZzZttjcmHyh2BtAAJKyXCx/MDvwHLWZ8jK0
FPXzP/5LuYzXoTKEoqv/1esUTJS+Q1ydIhHEoe+o2rpj8SZ9oyVc8nzWh41xwbfT
8ilVpfmo88jcxwth0eHB5t39ivsY2xq/EjcKE1d3u2V8H2ch/HCLdbuBtt/3Vzmh
Kiglt/dlXCQaOk12CDd4EUlCL8kk9WrmuwGIDswriQpAVwWsiRfatkgtZ6UmNn7T
UMNxYXpnavEhVQrrkRNzsUExoWzxPVXD/4IkwNoU/o9YHJSRZiFt3QB3vs2KaL/O
rpYUvNrMdHZkl9Z2uHukVKpjMd1gqjdwzhqBP+9r6dBYOeQI080K9pxWURDNbqIy
FkunL0b2O0Az1DG4dNURtLFYwkR88Ll4k1Mddq65OWZcPQ49XX0isLBrk2ASuTbk
pv6/y0yfqqiPrVR+WK3o
=cpZe
-----END PGP SIGNATURE-----
More information about the Python-modules-team
mailing list