PyCharm&Python设置国内源: 在C:/users/xxx/pip文件夹内添加pip.ini文件,内容如下 [global] timeout = 6000 index-url = https://pypi.tuna.tsinghua.edu.cn/simple trusted-host = https://pypi.tuna.tsinghua.edu.cn