Under Windows, when python pip install ReadTimeoutError solution

solve

PIP appears ReadTimeoutError under normal circumstances because of the GFW to the wall, so usually encounter this problem, we can choose a mirror image of the country to solve the problem.

In Windows:

New \ Users \ Administrator \ under pip folder, create pip.ini file, copy the code below into it, save: C.

 

 [global]
 index-url = https://pypi.tuna.tsinghua.edu.cn/simple

 

In fact, the python source into the Tsinghua source, should be able to solve the problem.

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/ivyharding/p/12058734.html