Upgrade pip to ver18 on anaconda(在 anaconda 上将 pip 升级到 ver18)
问题描述
我在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 anaconda 上将 pip 升级到 ver18
基础教程推荐
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
