Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot upgrade pip 9.0.1 to 9.0.3 - requirement already satisfied

I'm trying to update pip using pip install --upgrade pip, but I get a "requirement satisfied" error and an "outdated version" message at the same time

$ pip install --upgrade pip Requirement already up-to-date: pip in  /Users/user/Envs/proj/lib/python2.7/site-packages You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip'  command. 

How do I update?

like image 547
Soundtemple Avatar asked Apr 10 '18 01:04

Soundtemple


People also ask

How do you fix there was an error checking the latest version of pip?

Solve the Warning: There was an error checking the latest version of pip error. The best way to solve this error is to install or update the pip module to the latest version. Before installing the pip module make sure that all the dependencies for this module should be installed.


2 Answers

Recently, Python.org sites stopped supporting TLS version 1.0 and 1.1, which could be causing the chicken-and-egg problem you are facing. Try upgrading pip without using pip:

curl https://bootstrap.pypa.io/get-pip.py | python 
like image 59
Anupam Avatar answered Sep 23 '22 00:09

Anupam


These two commands worked for me:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py 

then:

python get-pip.py 
like image 39
paul Avatar answered Sep 22 '22 00:09

paul