美文网首页
python -m pip install --upgrade

python -m pip install --upgrade

作者: 不爱钱的张师傅 | 来源:发表于2018-09-28 23:09 被阅读0次

安装xxx包时报错:
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.

按下Win徽标键,找到 命令提示符 右键-> 更多-> 以管理员模式运行 重新运行 python -m pip install --upgrade pip 即可。

image.png
如果更新完pip 再安装包,还是报错,也许可以试试:
pip install xxx -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

相关文章

网友评论

      本文标题:python -m pip install --upgrade

      本文链接:https://www.haomeiwen.com/subject/pfbmoftx.html