conda:Could not find a version that satisfies the requirement XXX

在根据这篇博客安装labelme时,用pip命令安装包会报如下错误:
conda:Could not find a version that satisfies the requirement XXX
conda:Could not find a version that satisfies the requirement XXX

这是因为网络的问题,需要使用国内的镜像源来加速,比如豆瓣源

在后面加上就可以了

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

参考:
pip 安装 pyqt5 失败Could not find a version that satisfies the requirement PyQt5 (from versions: ) No ma

上一篇:Unity突然出现的JAVA_HOME is not set and no ‘java‘ command could be found in your PATH


下一篇:【解决error】ERROR: Could not find a version that satisfies the requirement re