*** 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
*** 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
#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
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
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:
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
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.
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
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
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:
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
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
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
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
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
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
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
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:
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
** 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
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
#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:
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
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
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
** 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
** 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
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
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.
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
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
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
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:
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',
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.
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
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
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:
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:
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
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.
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
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
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
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.
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.
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
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
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.
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
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
$ 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
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
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
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
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
** 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
** 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
** 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
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.
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
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,
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
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:
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
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
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
67 matches
Mail list logo