讓 pip 起飛 | 使用國內(nèi)鏡像網(wǎng)站安裝python庫文件、模塊

方法1:臨時(shí)使用鏡像網(wǎng)站:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
或
https://mirrors.aliyun.com/pypi/simple/?
---------------------------------------------
方法2: 公網(wǎng)配置方法:
pip config edit --editor notepad
pip config list -v
pip config set x.y z
---------------------------------------------
其他鏡像網(wǎng)站分享:
中國科學(xué)技術(shù)大學(xué) :
https://pypi.mirrors.ustc.edu.cn/simple
豆瓣:http://pypi.douban.com/simple/
阿里云:http://mirrors.aliyun.com/pypi/simple/
標(biāo)簽: