Use a domestic pypi source to install Python packages

Source: Internet
Author: User

Domestic source

http://pypi.douban.com/Watercress

http://pypi.hustunique.com/Huazhong University of Technology

http://pypi.sdutlinux.org/Shandong University of Technology

http://pypi.mirrors.ustc.edu.cn/China University of Science and Technology

How to use

Manually Specify:

Manually specify the source, you can follow the PIP and-I to specify the source, such as the source of the watercress to install Slinter (remember to add simple after the source address):

$sudoPip3Install-I. http://Pypi.douban.com/simple/splinterRequirement already satisfied (use--upgrade to upgrade): Splinterinch/usr/local/lib/python3.4/dist-packages/splinter-0.7.3-py3.4. eggdownloading/unpacking selenium>=2.47.1(from Splinter) http://pypi.douban.com/simple/selenium/uses An insecure Transport scheme (HTTP). Consider using HTTPS if pypi.douban.com has it availableDownloading selenium-2.52.0.Tar. GZ (809kB): 809kB downloaded Running setup.py (path:/tmp/pip_build_root/selenium/setup.py) Egg_info forPackage Selenium installing collected packages:selenium Running setup.pyInstall  forSelenium successfully installed seleniumcleaning up...$

Set as default source:

Because it is not commonly used, and it is convenient to specify the PyPI source manually, please refer to the PIP or easy_install documentation or refer to other blogs for more information.

Detailed reference: http://topmanopensource.iteye.com/blog/2004853

Use a domestic pypi source to install Python packages

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.