PyPI China Mirror How many and domestic Python users how to use PyPI mirror source __python

Source: Internet
Author: User
Tags install pandas aliyun


First, PyPI China mirror



As an upgraded version of Easy_install, PIP provides great convenience for Pyhton package management. One-line command to complete the installation of the required modules:


Pip Install Pandas


But the official image of the access speed is very slow, almost unusable. Therefore, it is very necessary to modify the mirror source to improve access speed,



Modify the mirror source in different operating systems, the location of the modified file is different, in the Linux default path is $HOME/.pip/pip.conf in the Windows default path is%home%\pip\pip.ini



The configuration file does not exist under the default path, you need to create a new, and then write in the configuration file: [Global] Index-url =  http://pypi.mirrors.ustc.edu.cn/simple/can modify the mirror source. The part after the equals sign is the address of the mirror source. I collected a few Chinese pypi mirror source, the top source in my this access speed is the fastest, the speed descending downward, so try a few before the good. Aliyun speed   http://mirrors.aliyun.com/pypi/simple/  China University of Science   https://pypi.mirrors.ustc.edu.cn/simple/ Watercress (Douban) Http://pypi.douban.com/simple/Python official Https://pypi.python.org/simple/v2ex http://pypi.v2ex.com/simple /CAS   http://pypi.mirrors.opencas.cn/simple/Tsinghua University  https://pypi.tuna.tsinghua.edu.cn/simple/
Second. How to use a mirror source using a mirrored source is simple, with-i specifies the line, for example:
sudo easy_install-i http://pypi.douban.com/simple/saltTesting
sudo pip install- I http://pypi.douban.com/simple/saltTesting


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.