When I try to install anything with pip
or pip3
, I get:
$ sudo pip3 install python3-tk
Tra
Or you can remove all requests
.
For example:
rm -rf /usr/local/lib/python2.7/dist-packages/requests*
Simply running easy_install -U pip
resolved my problem.
For fixing pip3 (worked on Ubuntu 14.10):
easy_install3 -U pip
Check if have a python interpreter alive in any of the terminal windows. If so kill it and try sudo pip
which worked for me.
My version of pip on ubuntu suggests:
pip install --upgrade pip