安装mock报错:ERROR: Could not find a version that satisfies the requirement mock (from versions: none)
2020-07-14 06:23
741 查看
安装mock报错:ERROR: Could not find a version that satisfies the requirement mock (from versions: none)
把pip升级到最新版本:
C:\Users\n>python -m pip install --upgrade pip Requirement already up-to-date: pip in c:\python37\lib\site-packages (20.0.2)
然后再安装mock即可:
C:\Users\n>pip install mock Requirement already satisfied: mock in c:\python37\lib\site-packages (4.0.2)
使用上面的命令安装即可,我这里是已经安装成功了
相关文章推荐
- 踩坑pip-ERROR: Could not find a version that satisfies the requirement csv (from versions: none)
- 安装yamL 文件报错:Could not find a version that satisfies the requirement yaml (from versions: ) No matchi...
- pip安装python包出错:Could not find a version that satisfies the requirement regex (from versions: )
- 安装PIL报错Could not find a version that satisfies the requirement PIL (from versions: )的解决办法
- pip安装python包出错:Could not find a version that satisfies the requirement skimage (from versions: )
- Could not find a version that satisfies the requirement PIL (from versions: ) No matching distributi
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- Could not find a version that satisfies the requirement PIL (from versions: )
- Python pip安装Django异常Could not find a version that satisfies the requirement pytz (from django)
- Could not find a version that satisfies the requirement corsheaders (from versions: ) No matching di
- ERROR: Could not find a version that satisfies the requirement protobuf>=3.8.0 (from tensorflow) (fr
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 解决:Anaconda安装pandas等包时遇到ERROR: Could not find a version that satisfies the requirement pandas
- mac 安装 tensorflow 提示 Could not find a version that satisfies the requirement
- Python安装PIL遇到‘Could not find a version that satisfies the requirement PIL’
- Could not find a version that satisfies the requirement requests (from version : )
- 官网安装tensroflow遇到Could not find a version that satisfies the requirement tensorflow-tensorboard
- centos7.0 安装scrapy出错Could not find a version that satisfies the requirement Twisted>=13.1.0
- Could not find a version that satisfies the requirement Twisted==17.9.0 (from -r re.txt (line 31))