pip安装python包出错:Could not find a version that satisfies the requirement skimage (from versions: )

时间:2021-11-06 17:06:34

今天用pip安装skimage时报错:

pip安装python包出错:Could not find a version that satisfies the requirement skimage (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 skimage (from versions: )