Python之使用pip安装三方库Error:Could not find a version that satisfies the requirement <package>(from versions: none),No matching distribution found for <package>
2020-11-07 16:56
603 查看
出现多次使用pip安装包时提示以下报错:
ERROR: Could not find a version that satisfies the requirement <package> (from versions: none)
ERROR: No matching distribution found for <package>
看提示信息说是木有匹配的包版本,那既然这样就指定安装的Python的三方包的版本,但是也不行,那说明可能不是包版本问题。
网上查了下说有可能是网络问题,于是替换使用国内的镜像源来加速:
pip install <package> -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
--trusted-host pypi.douban.com的作用是获得ssl的认证
执行命令后,python包安装成功
相关文章推荐
- 踩坑pip-ERROR: Could not find a version that satisfies the requirement csv (from versions: none)
- 安装mock报错:ERROR: Could not find a version that satisfies the requirement mock (from versions: none)
- pip安装python包出错:Could not find a version that satisfies the requirement skimage (from versions: )
- pip安装python包出错:Could not find a version that satisfies the requirement regex (from versions: )
- ERROR: Could not find a version that satisfies the requirement pymysql (from versions: none)
- 安装yamL 文件报错:Could not find a version that satisfies the requirement yaml (from versions: ) No matchi...
- Could not find a version that satisfies the requirement corsheaders (from versions: ) No matching di
- Python pip安装Django异常Could not find a version that satisfies the requirement pytz (from django)
- Could not find a version that satisfies the requirement PIL (from versions: ) No matching distributi
- (Python)pip报错ERROR: Could not find a version that satisfies the requirement
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 安装PIL报错Could not find a version that satisfies the requirement PIL (from versions: )的解决办法
- centos7.3 安装scrapy出错Could not find a version that satisfies the requirement Twisted>=13.1.0
- Pip 安装 报错 Could not find a version that satisfies the requirement
- python环境选择和安装,解决could not find a version that satisfies the requirement tensorflow
- Python安装PIL遇到‘Could not find a version that satisfies the requirement PIL’
- Could not find a version that satisfies the requirement PIL (from versions: )
- python学习笔记-升级pip报错:Could not find a version that satisfies the requirement pip==19.1.1
- Python 安装tensorflow,解决报错 Could not find a version that satisfies the requirement tensorflow