使用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刪除。



猜您在找 python Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR: No matching distribution found for pymysql Python之使用pip安裝三方庫Error:Could not find a version that satisfies the requirement (from versions: none),No matching distribution found for 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 樹莓派pip安裝opencv報錯,Could not find a version that satisfies the requirement cv2 (from versions: )No matching distribution found for cv2 在公司用pip安裝openpyxl庫時,報錯:Could not find a version that satisfies the requirement jdcal (from openpyxl) (from versions: ) No matching distribution found for jdcal (from openpyxl) centos解決Could not find a version that satisfies the requirement pip3 (from versions: none)及No matching distribution found for pip3問題 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 pycharm錯誤:Could not find a version that satisfies the requirement gensim (from versions: ) No matching distribution found for gensim
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM