How Do I Upgrade Pip on Mac?

I cannot upgrade pip on my Mac from the Terminal.

According to the documentation I have to type the command: pip install -U pip

I get the error message in the Terminal: pip: command not found

I have Mac OS 10.14.2, python 3.7.2 and pip 18.1. I want to upgrade to pip 19.2.3

9 Answers

upgrading pip as of 09/2020:

pip3 install --upgrade pip==20.2.2
1

pip3 install --upgrade pip


this works for me!

1

Try this

pip install --upgrade pip==19.2.3

Hope this will help you.

2

I have found an answer that worked for me: sudo pip3 install -U pip --ignore-installed pip

This installed pip version 19.2.3 correctly.

It was very hard to find the correct command on the internet...glad I can share it now.

Thanks.

If you want to upgrade to the latest pip version (as of this writing pip-21.2.4) and you are using mac, do the following:

Open your terminal, on your main folder and type:

$ pip3 -V 

This will give you the version you have installed

Then type:

$ pip3 install --upgrade pip

Or

$ sudo pip3 install --upgrade pip

The latest if you need to input your password

try:

sudo -H pip3 install --upgrade pip
2

I came on here to figure out the same thing but none of this things seemed to work. so I went back and looked how they were telling me to upgrade it but I still did not get it. So I just started trying things and next thing you know I seen the downloading lines and it told me that my pip was upgraded. what I used was (pip3 install -- upgrade pip). I hope this can help anyone else in need.

Make sure you have pip installed in the first place. Refer to to install pip.

For MAC with M1 :

pip3 install --upgrade pip

If you want to install specific version:

pip3 install --upgrade pip==21.1.1

After pip == version_number should be entered

If you want to know more about pip commands:

pip3 help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest