How to upgrade pip version from 10.0.1 to 18.0 in anaconda?

Viewed 6415

I'm using Anaconda. I want to update pip from version 10.0.1 to 18.0 but I can't.

I tried using the code conda update pip in Anaconda Prompt but the version has not been changed and It is still 10.0.1.

The reason I want to update Pip version is to install cx_freeze.

2 Answers

First list your conda environment:

conda-env list
base        /home/user/anaconda2/

Activate your conda environment:

source activate /home/user/anaconda2
pip install --upgrade pip

If conda does not work you can always do things from pip (in this case use pip to update pip). Try with:

pip install --upgrade pip

Make sure you are calling the conda pip and not the pip of the system

Related