1. 程式人生 > >Could not find a version that satisfies the requirement flask pip安裝python包出錯:Could not find a version that satisfies the requirement skimage (from ver

Could not find a version that satisfies the requirement flask pip安裝python包出錯:Could not find a version that satisfies the requirement skimage (from ver

使用命令安裝flask,出現報錯

百度找到解決方法https://www.cnblogs.com/lijinze-tsinghua/p/8666558.html

參考修改成pip install flask -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: )

 

今天用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

最後成功安裝:

 

   

今天用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

最後成功安裝: