用PIP 安裝或升級python遇到錯誤提示


用PIP 安裝或升級python遇到錯誤提示

$ pip install pythons

Collecting pythons

  Could not find a version that satisfies the requirement pythons (from versions: )

No matching distribution found for pythons

 

這是因為網絡的問題,需要使用國內的鏡像源來加速,比如豆瓣源

命令改為:

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