python--pycharm changed to domestic mirror source
Tsinghua: https://pypi.tuna.tsinghua.edu.cn/simple
Douban : http://pypi.douban.com/simple/
Ali: http://mirrors.aliyun.com/pypi/simple/
University of Science and Technology of China: https://pypi.mirrors.ustc.edu.cn/simple/
Find the pip folder under the Python root directory under Windows, in the folder
Create a new file pip.ini:
[global]
timeout = 6000
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = https://pypi.tuna.tsinghua.edu.cn