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?
Upgrade Or Downgrade To Specific Pip Version If you want to upgrade or downgrade your version of pip to a specific version on a Mac, you can do this by adding a pip==<version> flag to the end of your update command.
Use pip install notebook --upgrade or conda upgrade notebook to upgrade to the latest release. We strongly recommend that you upgrade to version 9+ of pip before upgrading notebook . Use pip install pip --upgrade to upgrade pip. Check pip version with pip --version .
No, conda update and conda install don't update packages installed with pip (or install them using pip ). These conda commands only check your "default" anaconda-channels or the ones specified with -c , they ignore everything else.
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With