Quick Way to Upgrade PIP in Anaconda

From time to time you may want to upgrade pip in Anaconda. In this short post, I’ll show you a quick way to accomplish this task.

So how would you know that you need to upgrade to a newer version of pip in the first place?

Under my case, when I opened the Anaconda Prompt, in order to install a package using the PIP method, I got the following message:

Upgrade PIP in Anaconda

At that time, I was using the pip version of 18.0, but a newer version of pip was available.

In order to obtain the latest version of pip, I simply applied the following command in the Anaconda Prompt:


python.exe -m pip install --upgrade pip


In the next section, I’m going to review the full steps to upgrade pip in Anaconda, just in case you were wondering how to perform the upgrade from scratch.

Steps to upgrade pip in Anaconda

(1) The first thing that you’ll need to do is to open the Anaconda Prompt:


Anaconda Prompt


(2) You should see the following screen once you open the Anaconda Prompt:


Upgrade PIP in Anaconda


(3) Type the following command (as we saw at the beginning of this post), and then press Enter:


python.exe -m pip install --upgrade pip


How to Upgrade Anaconda PIP to Version 18.0


(4) After few seconds or so, the latest version of pip would be installed successfully on your machine:


Upgrade PIP in Anaconda


(5) Finally, you can check the version of pip by opening the Anaconda Prompt, and then typing:


pip --version


For example, when I typed the above syntax, I got the version of pip 18.1:


Upgrade PIP Anaconda


That’s it, mission accomplished! You should now be able to enjoy the latest version of pip.

From time to time, you may also want to type the following command in the Anaconda Prompt to make sure everything is up-to-date in Anaconda:


conda update pip


Finally, a useful resource about Anaconda is the User guide — Conda documentation, which contains good information about the installation and configuration of Anaconda.