問題描述
我在 Windows 10 上為 python v3.6 使用 anaconda 64 位.
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
強制 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的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!