SoFunction
Updated on 2024-11-15

Solution for ReadTimeoutError during pip installation

Solutions of 22.1.2018

Generally PIP ReadTimeoutError is because it is walled by GFW, so we can choose domestic mirrors to solve the problem.

Under Windows:

Create a new pip folder under C:\Users\Administrator\, create a file, copy the following code into it and save it.

[global] 
index-url = /simple 

It's really just a matter of replacing the python source with the Tsinghua source, which should solve the problem.

2016.12.4 Solutions

Prolonged wait time solves the problem perfectly

Windows in cmd, linux in terminal enter the following command:

pip --default-timeout=100 install -U pip

The above solution to ReadTimeoutError during pip installation is all that I have shared with you, I hope it will give you a reference, and I hope you will support me more.