Not sure if this is exactly the same bug, but I'm seeing pip break itself. Packages are being installed in /usr/local/lib/python2.7/dist-packages/ and at some point it's installing the requests package. This breaks pip completely:
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 23, in <module>
from requests.adapters import BaseAdapter
ImportError: No module named adapters
Moving /usr/local/lib/python2.7/dist-packages out of the way fixes the problem.
Not sure if this is exactly the same bug, but I'm seeing pip break itself. Packages are being installed in /usr/local/ lib/python2. 7/dist- packages/ and at some point it's installing the requests package. This breaks pip completely:
Traceback (most recent call last): 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 23, in <module>
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.adapters import BaseAdapter
ImportError: No module named adapters
Moving /usr/local/ lib/python2. 7/dist- packages out of the way fixes the problem.