Python replaces domestic source for fast PIP installation

Source: Internet
Author: User
WINDOWS installation pip1. First download the installation Python and add the Python installation directory to the system environment variable 2. Copy this file to. py and execute https://bootstrap.pypa.io/ Get-pip.py3. After execution, locate the native Python directory, open the Scripts folder, add the path under this folder to the environment variable to this point, re-open the CMD interface input PIP can find the installation is successful but the initial source of Pip is often slow, or not even at all, so you need to replace the source update Source: 1 . Locate the application file in the local user directory AppData, locate the Pip folder, my path is C:\Users\Money\AppData\Local\pip2. Create a new file Pip.ini:[global]timeout = 6000index-url = Http://pypi.douban.com/simpletrusted-host = Http://pypi.douban.comOK LINUX

Python replaces domestic source for fast PIP installation

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.