目前國內靠譜的 pip 鏡像源有:
清華: https://pypi.tuna.tsinghua.edu.cn/simple
豆瓣:
阿里: http://mirrors.aliyun.com/pypi/simple/
1.方法一:
步驟1:


步驟2:


步驟3:


步驟4:


步驟5:


此時就出現了兩個源可以選擇下載。

2.方法二:
Windows下找到Python根目錄下的pip文件夾,在文件夾內
新建一個文件pip.ini:
[global]
timeout = 6000
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = https://pypi.tuna.tsinghua.edu.cn
