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

在根据这篇博客安装labelme时,用pip命令安装包会报如下错误:
在这里插入图片描述
在这里插入图片描述

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

在后面加上就可以了

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

猜你喜欢

转载自blog.csdn.net/u011208984/article/details/115112456