筆記-python pip國內鏡像源及配置

系統崩了,重裝各種軟件各種包各種配置,搞了一天,老殼疼。。。


關於鏡像源做個筆記:

環境

Windows

國內源

清華:https://pypi.tuna.tsinghua.edu.cn/simple

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

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

華中理工大學:http://pypi.hustunique.com/

山東理工大學:http://pypi.sdutlinux.org/ 

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

必備條件

pip -version >=10.0.0

臨時使用

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple keras

永久修改

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

參考資料

https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

https://www.cnblogs.com/wqpkita/p/7248525.html

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章