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

水深无声 2022-11-12 08:23 278阅读 0赞

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

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

在后面加上就可以了

  1. pip install PyQt5 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
  2. 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

发表评论

表情:
评论列表 (有 0 条评论,278人围观)

还没有评论,来说两句吧...

相关阅读