python 3 解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题

时间:2021-03-03 11:48:53   收藏:0   阅读:0

问题: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

 

如配置镜像源也解决不了,可以尝试配置环境变量解决。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!