# pip list
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 11, 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
...and resolved it
# easy_install -U pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 1.5.6
Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#md5=01026f87978932060cc86c1dc527903e
Processing pip-1.5.6.tar.gz
Writing /tmp/easy_install-u_hfjN/pip-1.5.6/setup.cfg
Running pip-1.5.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-u_hfjN/pip-1.5.6/egg-dist-tmp-oG6xQ8
warning: no files found matching 'pip/cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Adding pip 1.5.6 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
I encountered the same problem
# pip list entry_point( 'pip==1. 5.4', 'console_scripts', 'pip')() python2. 7/dist- packages/ pkg_resources. py", line 351, in load_entry_point n(dist) .load_entry_ point(group, name) python2. 7/dist- packages/ pkg_resources. py", line 2363, in load_entry_point python2. 7/dist- packages/ pkg_resources. py", line 2088, in load _(self. module_ name, globals( ),globals( ), ['__name__']) python2. 7/dist- packages/ pip/__init_ _.py", line 11, in <module> python2. 7/dist- packages/ pip/vcs/ mercurial. py", line 9, in <module> python2. 7/dist- packages/ pip/download. py", line 25, in <module>
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
entry = __import_
File "/usr/lib/
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/
from pip.download import path_to_url
File "/usr/lib/
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead
...and resolved it
# easy_install -U pip /pypi.python. org/simple/ pip/ /pypi.python. org/packages/ source/ p/pip/pip- 1.5.6.tar. gz#md5= 01026f879789320 60cc86c1dc52790 3e install- u_hfjN/ pip-1.5. 6/setup. cfg install- u_hfjN/ pip-1.5. 6/egg-dist- tmp-oG6xQ8 build/_ sources'
Searching for pip
Reading https:/
Best match: pip 1.5.6
Downloading https:/
Processing pip-1.5.6.tar.gz
Writing /tmp/easy_
Running pip-1.5.6/setup.py -q bdist_egg --dist-dir /tmp/easy_
warning: no files found matching 'pip/cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_
Adding pip 1.5.6 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin
Installed /usr/local/ lib/python2. 7/dist- packages/ pip-1.5. 6-py2.7. egg
Processing dependencies for pip
Finished processing dependencies for pip