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