[Bug 1306991] Re: pip stops with ImportError for request-Modul
*** This bug is a duplicate of bug 1324391 *** https://bugs.launchpad.net/bugs/1324391 ** This bug has been marked a duplicate of bug 1324391 pip 1.5.4 import an invalid dependencies -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
*** This bug is a duplicate of bug 1324391 *** https://bugs.launchpad.net/bugs/1324391 https://bugs.launchpad.net/ubuntu/+source/python- pip/+bug/1306991/comments/26 ** Changed in: python-pip (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
#57 sudo pip install IncompleteRead ...that's not going to work -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
See also: http://stackoverflow.com/q/27341064/562769 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
sudo pip install IncompleteRead -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
For Ubuntu : sudo apt-get install python-openstackclient -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Still failure in Ubuntu 15.10 when "sudo pip install python- openstackclient" from https://console.ng.bluemix.net/docs/virtualmachines/vm_index.html#vm_setup_cli -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
We rolled out a new pip package to all our systems this morning. Since it happened to pull in a new requests library, we now are the proud owners of approximately 50 hosts with completely broken pip installs. Exact same problem described here. How does a bug this serious persist in a LTS release for two years, without even being triaged or assigned a priority?!?! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I had just local pip, and used this command to clean it up: rm -rf .local/lib/python2.7/site-packages/requests -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Same bug in Ubuntu 15.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
The following worked for me $ sudo rm -rf /usr/local/lib/python2.7/dist-packages/requests* Now I have a fully functional pip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I do the same as the previous post said: $ sudo apt-get purge -y python-pip $ sudo easy_install pip And I have too a fully functional pip now! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
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): File "/usr/bin/pip", line 9, in 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 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I fixed this by doing same thing as #33, then removing and and re- installing pip. The call to autoremove was key - it didn't work when I tried without this. sudo apt-get purge python-pip sudo agt-get autoremove and re-installing sudo apt-get install python-pip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
On my Ubuntu 15.04 system, the system-supplied pip (`apt install python- pip`, v1.5.6) works correctly with the system-supplied requests (python- requests -- v2.4.3 -- it's a dependency of python-pip). Then after installing a package with pip (in my case `pip install --user jira`) it installed a newer version of requests (v2.7.0) into ~/.local/lib/python2.7, presumably because the package I installed specified that it needed a newer version of requests. This causes pip to break with: from requests.compat import IncompleteRead ImportError: cannot import name IncompleteRead My solution was to delete the offending requests library, then upgrade pip with `sudo pip install --upgrade pip`, and then reinstalling the pip packages I wanted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Solved by uninstalling : sudo apt-get remove pyton3-pip Then reinstall with easy_install: sudo easy_install3 pip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
The bug is with pip 1.5.4 itself. I recommend upgrading pip. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Will there be released a fix? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
This affects me too in Ubuntu 15.04, fixed it with: sudo easy_install -U pip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
** Changed in: python-pip (Ubuntu) Status: Invalid = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Getting this same issue with Ubuntu 15.04 (Minimal install+XFCE) pip --version 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/__init__.py, line 521, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 2632, in load_entry_point return ep.load() File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 2312, in load return self.resolve() File /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py, line 2318, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
#33 fix the issue too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Comment 34 worked for pip https://bugs.launchpad.net/ubuntu/+source /python-pip/+bug/1306991/comments/34 Comment 37 did not work for pip3 since I have no older folder that works https://bugs.launchpad.net/ubuntu/+source/python- pip/+bug/1306991/comments/37 Any way to recreate those request folder with apt for pip3? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I am aware that this might not be the right place to ask, but here it goes anyway: Can anyone explain to me why python-pip installs requirements for livestreamer in /usr/local/ ? This is against FHS and Debian policies about what /usr/local/ may be used for. I used to work in an environment where /usr/local/ was an NFS mount to which clients had no write access, so any attempt by the package manager, maintenance scripts or for example puppet to place files in /usr/local/ would fail. This would have made maintaining packages like livestreamer very cumbersome. I hope this will get addressed in the future? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Same issue in (K)ubuntu 14.04.2 LTS (using python 2.7) In my case an old requests version 1.2.3 was sitting in my user folder, so the following solved the issue for me: rm -rf ~/.local/lib/python2.7/site-packages/requests-1.2.3.egg-info ~/.local/lib/python2.7/site-packages/requests Thanks Muelli, however I do *not* recomment the find approach: im my case it matched files from other packages as well -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
** Changed in: python-pip (Debian) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
** Changed in: python-pip (Debian) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Ugh, no way to edit comments... Above, I moved requests to requests.old. I also have requests-2.4.2.dist-info is not causing this problem, so I moved that back (which is the last line above). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
With Python 3.4 and pip3, this is what worked for me: cd /usr/local/lib/python3.4/dist-packages sudo mv requests-2.4.2.dist-info.old requests-2.4.2.dist-info -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
i experienced similar symptoms. it finally turns out that the problem was the permissions of /usr/local/lib/python2.7/dist-packages (and it's subfolders) I'm still trying to figure out what it was that touched the permissions (or why it has that permission from the begining), but running 'chmod 755 /usr/local/lib/python2.7/dist-packages/* -R' fixed the problem. hope it will help you too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
easy_install fixes pip ;) $ sudo easy_install -U pip Searching for pip Reading https://pypi.python.org/simple/pip/ Best match: pip 6.0.2 Downloading https://pypi.python.org/packages/source/p/pip/pip-6.0.2.tar.gz#md5=dd396e135b8abdd0097401cb8b66ea30 Processing pip-6.0.2.tar.gz Writing /tmp/easy_install-IgtBKt/pip-6.0.2/setup.cfg Running pip-6.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IgtBKt/pip-6.0.2/egg-dist-tmp-FjYpKA warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.mailmap' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching 'pip/_vendor/Makefile' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'dev-requirements.txt' no previously-included directories found matching '.travis' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'contrib' no previously-included directories found matching 'tasks' no previously-included directories found matching 'tests' Adding pip 6.0.2 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-6.0.2-py2.7.egg Processing dependencies for pip Finished processing dependencies for pip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I seem to have fixed this by going into the /usr/local/lib/python2.7 /dist-packages/ folder and renaming the folders requests to requests.old and requests-2.4.1.dist-info to requests-2.4.1.dist- info.old. The pip now works properly again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
this one hits me too. please fix it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I just executed ```bash $ sudo pip install natsort matplotlib coveralls --upgrade [... it worked ...] $ sudo pip install matplotlib --upgrade [sudo] password for moose: 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 61, 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 ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
maybe this temporary fix can help you sudo easy_install requests I have created a post, http://jamesjara.com/fix-ubuntu-requests-compat- import-incompleteread -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Hi, Installing CloudMonkey with a working pip on Ubuntu 14.04 installed with python-pip breaks it with the same message. How to reproduce - fresh and working python-pip installed - pip install cloudmonkey - pip instal --upgrade cloudmonkey Effectively pip install by itself a request module This is what is installed : --- $ ls /usr/local/lib/python2.7/dist-packages/ argcomplete prettytable.pyc argcomplete-0.8.3.egg-info pygments cloudmonkey Pygments-2.0.1.dist-info cloudmonkey-5.3.0.egg-info requests prettytable-0.7.2.egg-info requests-2.4.3.dist-info prettytable.py --- Hope this helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
William Grant (wgrant) answer solved my problem... (I'm guessing the Ubuntu SDK dependencies from the PPA put stuff there, and now a supported python-requests puts it in /usr/lib/, but maybe doesn't clean out the /usr/local/lib/ versions?) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
All Ubuntu releases have compatible versions of pip and requests (utopic still has requests 2.3.0, and vivid has the fixed 2.4.3-2 from Debian). If you're seeing this bug, you probably have a new or old copy of requests in /usr/local/lib/python2.7/dist-packages or similar. ** Changed in: python-pip (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I am still having the same problem in 14.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
This is probably a python-requests bug; see https://bugs.debian.org /cgi-bin/bugreport.cgi?bug=766419#23. (It's fixed in Debian.) ** Bug watch added: Debian Bug tracker #766419 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766419 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Also a problem with python3-pip. sudo apt-get remove python3-pip wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py sudo python3 get-pip.py fixed it for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
This appears to be broken still? This is a pretty big issue IMO and it has been months. Any idea on when it will be fixed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
What can be done to resolve this problem using Ubuntu's own packages? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I encountered the same problem # 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Looks like pip is vendoring requests, however in the ubuntu package the imports is pip/download.py are not properly pointing to the vendored version of requests. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
FWIW: I encountered the same issue. Hoewever, I was able to make pip work again by removing everything named requests in ~/.local/lib/, i.e. find ~/.local/lib -name '*requests*' -delete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
In particular, requests-2.4 seems to upset pip. requests = 2.2 seems to work better. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I am also encountering this in 14.04. I do not have a local copy of the 'requests' package (or in fact any packages other than python-usb). python-pip simply appears to be broken out of the box on 14.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Same here: pip was loading requests, and also urllib3 from /usr/local/lib. When I removed both libraries by hand, it started working again. FYI, the bug appeared on my box only after a system upgrade to Linux Mint 17/Ubuntu 14.04; requests and urllib3 had been pip install'd before the upgrade. PYTHONPATH was not set. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Removing the old requests and using easy_install worked for me as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I poked around a bit and found that requests was being loaded from /usr/local/lib/python2.7/dist-packages as it appeared before /usr/lib/python2.7/dist-packages in my python path. The /usr/local/lib/ version was 1.1.0 but the /usr/lib/ was version 2.2.1. Fixed it with: sudo rm -rf /usr/local/lib/python2.7/dist-packages/requests Not sure what it was that will have installed requests to here, but it would appear to not be a bug with requests, but rather two versions installed, and the old one is being preferred. Ripping out the old version fixed it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
$ sudo apt-get install python-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/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 PIP is broken out-of-the-box on Trusty. :/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
This didn't work for me until I removed all mentions of request in /usr/lib/python2.7/dist-packages (egg file, etc). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I can also confirm this is broken for me, and that installing requests==2.2.1 via easy_install fixes the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
And here's my solution. Basically, I move the installed version of requests aside then reinstall the version that I had using easy_install (since pip is borked). Once that's done, you can see that it works again. Note that you can't just install requests without telling it a version because it might install from pip's cache, which would just install the old version of requests again. 11:07:08::mlissner@pounamu::/usr/lib/python2.7/dist-packages ↪ sudo mv requests/ requests.old 11:07:42::mlissner@pounamu::/usr/lib/python2.7/dist-packages ↪ sudo easy_install requests==2.2.1 Searching for requests==2.2.1 Reading https://pypi.python.org/simple/requests/ Best match: requests 2.2.1 Downloading https://pypi.python.org/packages/source/r/requests/requests-2.2.1.tar.gz#md5=ac27081135f58d1a43e4fb38258d6f4e Processing requests-2.2.1.tar.gz Writing /tmp/easy_install-JEvkCb/requests-2.2.1/setup.cfg Running requests-2.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JEvkCb/requests-2.2.1/egg-dist-tmp-ybDF6A Adding requests 2.2.1 to easy-install.pth file Installed /usr/local/lib/python2.7/dist-packages/requests-2.2.1-py2.7.egg Processing dependencies for requests==2.2.1 Finished processing dependencies for requests==2.2.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
In reply to comment #6, I'm fairly certain this isn't requests' fault. My practice for one of my libraries for a long time was to lock the requests version at 1.2.3. Until Ubuntu 14.04, that worked fine, and the version was great. This time immediately after I installed my older version of requests, pip started throwing this error. Here's my terminal log. You can see everything is all good *until* I install requests. 10:54:26::mlissner@pounamu::~/Programming/intellij/juriscraper ↪ sudo pip install chardet==1.0.1 Downloading/unpacking chardet==1.0.1 Downloading chardet-1.0.1.tar.gz (156kB): 156kB downloaded Running setup.py (path:/tmp/pip_build_root/chardet/setup.py) egg_info for package chardet Installing collected packages: chardet Found existing installation: chardet 2.0.1 Uninstalling chardet: Successfully uninstalled chardet Running setup.py install for chardet Successfully installed chardet Cleaning up... 10:54:36::mlissner@pounamu::~/Programming/intellij/juriscraper ↪ sudo pip install requests==1.2.3 Downloading/unpacking requests==1.2.3 Downloading requests-1.2.3.tar.gz (348kB): 348kB downloaded Running setup.py (path:/tmp/pip_build_root/requests/setup.py) egg_info for package requests Installing collected packages: requests Found existing installation: requests 2.2.1 Uninstalling requests: Successfully uninstalled requests Running setup.py install for requests Successfully installed requests Cleaning up... 10:54:43::mlissner@pounamu::~/Programming/intellij/juriscraper ↪ sudo pip install lxml==3.0.1 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
** Bug watch added: Debian Bug tracker #744145 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744145 ** Also affects: python-pip (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744145 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
** Changed in: python-pip (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
** Package changed: pip (Ubuntu) = python-pip (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
I resolved it with Johan's advice, after removing python-pip. Ex. sudo apt-get remove python-pip wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py sudo python get-pip.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Workaround (instead of installing python-pip via apt-get): wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py python get-pip.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
pip is working fine in virtualenv. probably shipped python-requests package is buggy. In virtualend I'm getting requests.__version__ '2.2.1' In system python requests.__version__ '1.1.0' can't figure out why? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Workaround (assuming pip is installed): mv /usr/bin/pip /usr/bin/broken-pip.bak ln -s /usr/bin/pip3 /usr/bin/pip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Exact same message as deftoner here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pip (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Same on the 14.04 regular release today. Tried to to purge and re- install pip but still got the same error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1306991] Re: pip stops with ImportError for request-Modul
Hello there! thanks for your time. I got same error, on clean instalation ubuntu 14. 04. I installed: apt-get -y install python-svn ipython python-pip python-dev couchdb libpq-dev eftoner@ubuntu:~/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/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 Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1306991 Title: pip stops with ImportError for request-Modul To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pip/+bug/1306991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs