python Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR: No matching distribution found for pymysql


使用pip安装pymysql出错;Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: ) No matching distribution found for cryptography (from pymysql)

今天使用pip安装pymysql时出现如下错误:

Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: )
No matching distribution found for cryptography (from pymysql)

使用pip安装其他模块时也可能出现上述错误,主要原因是网络的问题,需要使用国内的镜像源来加速,比如豆瓣源

因此命令可以使用:

pip install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

或者

pip3 install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

即可成功安装。

 

 

原文连接


免责声明!

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



猜您在找 ERROR: Could not find a version that satisfies the requirement tensortfows (from versions: none) ERROR: No matching distribution found for tensortfows 【Python配置】pandas包的安装和Could not find a version that satisfies the requirement pandas (from versions: none) ERROR: No matching distribution found for pandas的解决 Python之使用pip安装三方库Error:Could not find a version that satisfies the requirement (from versions: none),No matching distribution found for 使用pip安装pymysql出错;Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: ) No matching distribution found for cryptography (from pymysql) pip install 报错 ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL centos解决Could not find a version that satisfies the requirement pip3 (from versions: none)及No matching distribution found for pip3问题 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 pycharm错误:Could not find a version that satisfies the requirement gensim (from versions: ) No matching distribution found for gensim win 10 pip Could not find a version that satisfies the requirement selenium (from versions: ) No matching distribution found for selenium 安装yamL 文件报错:Could not find a version that satisfies the requirement yaml (from versions: ) No matching distribution found for yaml
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM