Could not find a version that satisfies the requirement flask


使用命令安装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

最后成功安装:

 

 
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM