在Anaconda上将PIP升级到Ver18 [英] Upgrade pip to ver18 on anaconda
问题描述
我在Windows 10上将anaconda 64位用于python v3.6.
I am using anaconda 64-bit for python v3.6 on Windows 10.
每当我在anaconda上使用pip时,都会收到以下消息;
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.
我读到,在anaconda上升级pip的安全方法是使用conda;
I read that the safe way to upgrade pip on anaconda is to use conda;
conda update pip
但是,使用conda命令不会升级到ver18.使用python -m pip install --upgrade pip
强制将点升级到ver18是否安全?有打破水蟒的风险吗?有人尝试过吗?
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?
推荐答案
我将回答我自己的问题.感谢abarnert推荐conda-forge的评论之一,我得到了答案.
I will answer my own question. I got the answer thanks to one of the comments from abarnert who suggested conda-forge.
运行以下命令;
conda config --add channels conda-forge
conda update pip
这篇关于在Anaconda上将PIP升级到Ver18的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!