Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
[...]
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
Tried to do the same as #48 to fix pip errors on my Ubuntu 15.10 (upgraded from 14.04/15.04).
This does not work :
$ sudo apt-get purge -y python-pip
$ sudo apt-get -y autoremove
$ sudo apt-get install -y python-pip
$ pip --version
Traceback (most recent call last): entry_point( 'pip==1. 5.6', 'console_scripts', 'pip')() python2. 7/dist- packages/ pip/download. py", line 25, in <module>
File "/usr/bin/pip", line 9, in <module>
load_
[...]
from pip.download import path_to_url
File "/usr/lib/
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead
However, this works:
$ sudo apt-get purge -y python-pip
$ sudo easy_install pip
Now I have a fully function pip