guagay_wk
guagay_wk

Reputation: 28088

Upgrade pip to ver18 on anaconda

I am using anaconda 64-bit for python v3.6 on Windows 10.

Whenever I use pip on anaconda, I get the following message;

You are using pip version 10.0.1, however version 18.0 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

I read that the safe way to upgrade pip on anaconda is to use conda;

conda update pip

However, using the conda command does not upgrade to ver18. Is it safe to use python -m pip install --upgrade pip to force pip to be upgraded to ver18? Any risk of breaking anaconda? Anyone tried?

Upvotes: 28

Views: 29917

Answers (5)

Akshaya Natarajan
Akshaya Natarajan

Reputation: 2161

Simple pip upgrade command worked for me

pip install --upgrade pip

Let me know if that doesn't work for you.

Upvotes: 1

CheTesta
CheTesta

Reputation: 657

Small update:

Anaconda has recently distributed pip 18.1 version.

Both via Anaconda Prompt or via Anaconda Navigator, you should be able to upgrade pip and its dependencies (libcur, pycurl, qt, so on and so forth).

Upvotes: 1

user8604497
user8604497

Reputation: 139

Enter the following command:

python.exe -m pip install --upgrade pip

Upvotes: 3

WillZ
WillZ

Reputation: 3965

A bit different here but I'm using Linux.

Even though I had conda-forge in my channel list, I still couldn't just run conda update pip to update. I had to run the following to install that specific version.

conda install pip=18.0

Upvotes: 3

guagay_wk
guagay_wk

Reputation: 28088

I will answer my own question. I got the answer thanks to one of the comments from abarnert who suggested conda-forge.

Run the commands below;

conda config --add channels conda-forge 
conda update pip

Upvotes: 39

Related Questions