[Python-modules-team] Bug#949733: python-pip: 'pip install' don't work for python2 in Debian10
joanluc
jean-luc.laborde at u-bordeaux.fr
Fri Jan 24 09:17:34 GMT 2020
Package: python-pip
Version: 18.1-5
Severity: grave
Tags: a11y
Justification: renders package unusable
Dear Maintainer,
When invoking `usr/bin/pip' with any command of it, the program crashes with
the message :
"Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip._internal import main
ImportError: No module named _internal"
I tried making a workaround by replacing the line
"from pip._internal import main" by "from pip import main" in '/usr/bin/pip'
but it did crash after having downloaded the module.
-- System Information:
Debian Release: bullseye/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-2-amd64 (SMP w/16 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python-pip depends on:
ii ca-certificates 20190110
ii python 2.7.17-2
ii python-pip-whl 18.1-5
Versions of packages python-pip recommends:
ii build-essential 12.8
ii python-all-dev 2.7.17-2
ii python-setuptools 44.0.0-1
ii python-wheel 0.33.6-2
python-pip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list