当前位置:   article > 正文

Python系列(亲测有效):You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command_you should consider upgrading via the 'f:\python3.

you should consider upgrading via the 'f:\python3.8\python.exe -m pip instal

You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command解决方法




pip install requests
  • 1

运行时报错:

You should consider upgrading via the 'python -m pip install --upgrade pip' command
  • 1

如下图:

在这里插入图片描述

表示pip版本不适配,可以用以下代码查看,会告诉你当前版本和期望版本

pip show pip
  • 1

在这里插入图片描述

执行python -m pip install --upgrade pip 超时,这是因为pip源在国外,所以连起来比较慢,可以改用国内的源

可以用

python -m pip install --upgrade pip -i https://pypi.douban.com/simple
  • 1

在这里插入图片描述

同理,安装其他包也可以使用,如

在这里插入图片描述







测试小风扇

You should consider upgrading via the ‘python -m pip install --upgrade pip’ command解决方法

追逐吾之所求

You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command解决方法

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/362451
推荐阅读
相关标签
  

闽ICP备14008679号