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

今天用pip安装skimage时报错:

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

命令改为:

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

最后成功安装:

 

posted @ 2018-03-28 21:47  对白的算法屋  阅读(124757)  评论(1)    收藏  举报