在 “C:\Users\用户名” 文件夹下,添加pip文件夹,文件夹内新建pip.ini文件,内容为:
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple