0 python 报错整理

1.pip 版本过低

C:\Users\liu\PycharmProjects\da>pip install process
ERROR: Could not find a version that satisfies the requirement process (from versions: none)
ERROR: No matching distribution found for process
WARNING: You are using pip version 20.2.3; however, version 22.1.2 is available.
You should consider upgrading via the 'c:\users\liuyan\appdata\local\programs\python\python39-32\python.exe -m pip install --upgrade pip' command.
  • 解决办法,在Terminal输入:
C:\Users\yan\AppData\Local\Programs\Python\Python39-32\python.exe -m pip install --upgrade pip'
或者打开cmd 然后执行python.exe -m pip install --upgrade pip
~Duang 

2. 找不到安装的版本

ERROR: Could not find a version that satisfies the requirement process (from versions: none)
  我们经常通过pip安装东西时常常会出现ERROR: Could not find a version that satisfies the requirement xxx的问题。该问题常常会误导我们认为是下载的安装包之间存在冲突,因而花费大量的时间去配置各种各样的环境。其实出现这个问题的原因是python国内网络不稳定,直接导致报错。因此我们常用镜像源来解决此问题。如下
  • 解决办法
pip install 包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
posted @ 2022-06-01 20:56  潜龙~勿用  阅读(38)  评论(0编辑  收藏  举报