Python pycharm replace the PIP source as a domestic site and speed access to __python

Source: Internet
Author: User

The PIP in Python is an official source, and it is very slow to install the PIP at home, so it is best to replace it with the source address in China.

Domestic PIP Mirror Source

Tsinghua: Https://pypi.tuna.tsinghua.edu.cn/simple

watercress: http://pypi.douban.com/simple/

Ali: http:// mirrors.aliyun.com/pypi/simple/
1, manually specify the source of the third Party library

Pip Install xx-i http://pypi.douban.com/simple  //Use watercress source installation library, where XX Replace with the library you need to install


2. Global designated source installation third Party library
Windows creates a new Pip folder in the%appdata% directory, enters the Pip folder, creates a new Pip.ini, and adds the following content.

Timeout = 6000  
index-url = http://pypi.douban.com/simple  
trusted-host = pypi.douban.com  

3, Pycharm designated third party source

Click the File--setting--project interpeter interface, click on the right side of the ➕ button pop-up package management interface and then select the lower Manage Repositories button, add the above mirror can



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.