conda 按照指定源下載python包


conda 按照指定源下載python包

 

換成了國內的pip源就可以正常安裝了,我使用的是:pip install xlrd -i http://pypi.douban.com/simple --trusted-host pypi.douban.com,結果:Duang!Duang!Duang~成功

 

1)http://mirrors.aliyun.com/pypi/simple/ 阿里雲

2)https://pypi.mirrors.ustc.edu.cn/simple/  中國科技大學

3) http://pypi.douban.com/simple/  豆瓣

4) https://pypi.tuna.tsinghua.edu.cn/simple/ 清華大學

5)  http://pypi.mirrors.ustc.edu.cn/simple/ 中國科學技術大學

 

pip install 包名 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM