Installation of software timeout Solution Using pip in windows, pip Solution

Source: Internet
Author: User
Tags aliyun

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.