pip安装python包出错:Could not find a version that satisfies the requirement (from versions: )
这是因为网络的问题,需要使用国内的镜像源来加速,首选【豆瓣源】,
命令改为:
pip install scikit-image -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
或者
pip3 install scikit-image -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
最后成功安装:
本文介绍了解决pip安装python包时出现的“Could not find a version that satisfies the requirement”错误的方法。通过使用豆瓣源作为镜像源,可以有效解决因网络问题导致的安装失败。文章提供了具体的pip命令示例。





