Installation of software timeout Solution Using pip in windows, pip Solution
I used to introduce how to change the update source under ubuntu. For more information, see http://www.cnblogs.com/Alier/p/6358447.html.
Next, let's talk about pip configuration changes in windows, including software download timeout errors and update source replacement!
My computer system is win10. How can I find % APPDATA % in the pip configuration file % APPDATA %/pip. ini?
Command Prompt (cmd) Input
Echo % APPDATA %
You can find the path C: \ Users \ DELL \ AppData \ Roaming.
After entering this path, create a new pip folder and create a pip. ini file under this file.
Try to open the pip. ini file (in Notepad) and enter the following content:
[Global] timeout = 6000index-url = http://mirrors.aliyun.com/pypi/simple/?install=trusted-host=mirrors.aliyun.com
First, set the timeout time to 6000 s. When the installation software encounters a poor network speed, you can wait for a while instead of directly reporting an error,
Second, replace the update source with those in China, such as Alibaba, so that the installation speed is faster.
Try it now!