I wanted to update my requests module using the pip install requests --upgrade command , but something happened and now my pip failed. When I try to make pip install requests or even install any other package at all, I get errors:

root@goodwin:~# pip --upgrade 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 
  • the answer is given here - MaxU
  • @MaxU Still not working root@goodwin:~# easy_install pip Traceback (most recent call last): File "/usr/bin/easy_install", line 5, in <module> from pkg_resources import load_entry_point - JamesJGoodwin
  • remove pip and install it via easy_install - vadim vaduxa 5:02 pm
  • @vadimvaduxa did everything as indicated by the user above. I am writing an easy_install pip and the following errors appear. - JamesJGoodwin
  • How is pip installed? Have you globally updated? Virtualenv console line is not visible. What system? If debian-based, then try reinstalling the python-pip package. - FeroxTL

0