Python之使用pip安装三方库Error:Could not find a version that satisfies the requirement (from versions: none),No matching distribution found for


  出现多次使用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包安装成功

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 python Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR: No matching distribution found for pymysql 【Python配置】pandas包的安装和Could not find a version that satisfies the requirement pandas (from versions: none) ERROR: No matching distribution found for pandas的解决 pip install 报错 ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL ERROR: Could not find a version that satisfies the requirement tensortfows (from versions: none) ERROR: No matching distribution found for tensortfows pip安装Tensorflow模块问题:ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.0rc (from versions: none) ERROR: No matching distribution found for tensorflow==1.15.0rc centos解决Could not find a version that satisfies the requirement pip3 (from versions: none)及No matching distribution found for pip3问题 win 10 pip Could not find a version that satisfies the requirement selenium (from versions: ) No matching distribution found for selenium 在公司用pip安装openpyxl库时,报错:Could not find a version that satisfies the requirement jdcal (from openpyxl) (from versions: ) No matching distribution found for jdcal (from openpyxl) 树莓派pip安装opencv报错,Could not find a version that satisfies the requirement cv2 (from versions: )No matching distribution found for cv2 使用pip安装pymysql出错;Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: ) No matching distribution found for cryptography (from pymysql)
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM