How to modify python--pycharm as the domestic mirror source of Tsinghua University

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  

Guess you like

Origin blog.csdn.net/yang520java/article/details/107206693