Public bug reported: On Ubuntu 14.04, python-pip 1.5.4-1
After upgrading "requests" to 2.4, due to this commit: https://github.com/kennethreitz/requests/commit/47d0517d66e8cf5832768262221f0357ae134ad1 "IncompleteRead" is removed from "requests.compat" and any pip invokation results in: user@server:/tmp/pip/pip$ pip 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/local/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/local/lib/python2.7/dist-packages/pkg_resources.py", line 2472, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2186, in load ['__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 Woraround: Downgrade to requests=2.3.0 using easy_install: sudo easy_install requests==2.3.0 Does not happen in Debian Wheezy (seems not to rely on "requests" at all in their version) ** Affects: python-pip (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363642 Title: pip breaks after upgrading python package "requests" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1363642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs