Python安裝包,pip install很慢咋辦
很簡單:一句話
在pip install 任何東西后面加
-i https://pypi.tuna.tsinghua.edu.cn/simple
![Python安裝包,pip install很慢咋辦](http://p2.ttnews.xyz/loading.gif)
是不是很快啊
一勞永逸方法:(以後不用加這段)
windows下,直接在user目錄中創建一個pip目錄,如:C:\\Users\\你的用戶名\\pip,
新建文件pip.ini,內容如下
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
閱讀更多 愛編程的小鴿鴿 的文章