[Python-modules-team] Bug#834882: ImportError: cannot import name IncompleteRead
Félix Sipma
felix+debian at gueux.org
Sat Aug 20 09:45:40 UTC 2016
Package: python-pip
Version: 1.5.6-5
Severity: important
After installing python-pip, pip fails to run:
$ pip
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead
-- System Information:
Debian Release: 8.5
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-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
Init: systemd (via /run/systemd/system)
Versions of packages python-pip depends on:
ii ca-certificates 20141019+deb8u1
ii python 2.7.9-1
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-6
ii python-setuptools 5.5.1-1
ii python-six 1.8.0-1
pn python:any <none>
Versions of packages python-pip recommends:
pn build-essential <none>
pn python-dev-all <none>
pn python-wheel <none>
python-pip suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list