python 3 解決 ERROR: Could not find a version that satisfies the requirement xxx 的問題


問題:pyhton 3安裝module報錯ERROR: Could not find a version that satisfies the requirement config.paths

% pip install config.paths
ERROR: Could not find a version that satisfies the requirement config.paths
ERROR: No matching distribution found for config.paths

 

通過pip安裝時常常會出現ERROR: Could not find a version that satisfies the requirement xxx的問題,常用配置鏡像源來解決此問題。如下:

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

 

如配置鏡像源也解決不了,可以嘗試配置環境變量解決。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM