Use python person , Modules need to be installed frequently , But being in heaven .pypi.python.org The stability of the site is quite poor , For better use pip Install the module .

Please use the mirror image .

mac/linux Environmental Science

In the user's current directory If not .pip Catalog , please mkdir .pip

Get into .pip Catalog , create a file pip.conf

global]

index-url = http://mirrors.aliyun.com/pypi/simple/

[install]

trusted-host=mirrors.aliyun.com

Or you can use the image of Douban :

[global]

index-url = http://pypi.douban.com/simple

[install]

trusted-host=pypi.douban.com

pip 7 Later versions will be added , Otherwise, there will be the problem of distrusting the address , After that, it can be used normally pip install To quickly download the required third-party modules .

Special for China - To configure pypi More articles about mirror

  1. pypi Mirror source accelerates online installation of third-party libraries

    Use pypi Mirror source accelerates online installation of third-party libraries use easy_install and pip It's very convenient to install the third-party library   Their principle is actually from Python The official source of pypi.python.org/pypi Download to local , Then unpack Ann ...

  2. adopt PyPI Image mount Python package

    Sometimes , We just use pip install package_name When installing the package , Download is slow , We can try from PyPI Image download package . Here is the list of images and the current state : http://www.pypi-mirrors.o ...

  3. To configure pip Mirror source ( turn )

    Use pip install python When expanding , If no domestic mirror source is configured , Without going over the wall , Its download speed will be particularly slow . therefore , Sometimes we have to use domestic mirror source , To solve pip Slow download and installation , Common domestic images include : o ...

  4. pip Command parameters and how to configure domestic mirror source

    The article is updated in :2020-04-05 notes : If pip Orders can't be used , See :python pip Orders cannot be used List of articles One . Parameters, 1. The list of commands 2. General parameter list Two . The practical application 1. Common commands 2.`pip ...

  5. To configure containerd Image warehouse complete strategy

    Author's brief introduction Wang Hailong ,Rancher China Community Technology Manager , be responsible for Rancher Maintenance and operation of China's technology community . Have 6 Years of cloud computing experience , Experienced OpenStack To Kubernetes Technological change of , Regardless of the underlying operating system Lin ...

  6. stay SQL2008 Configure database mirroring 1418 Wrong handling

    stay SQL2008 Configuration database mirroring errors are generally caused by the following reasons 1. The main body . Mirror server SQL SERVER Choose this account to be consistent 2. In the database image configuration wizard “ Service account number ” Select the login name of the database to be synchronized , For example, count ...

  7. S5700 Switch configuration port mirroring

    S5700 Switch configuration port mirroring <Quidway>system-view    // Enter the system view Enter system view, return user view with Ctrl+ ...

  8. composer Installation and update issues , Configure China mirror source .

    Configure domestic image source China's mirror source https://pkg.phpcomposer.com/ composer Chinese official website address http://www.phpcomposer.com/ download Composer Ann ...

  9. Docker Configure domestic image accelerators , Speed up the download

    The article starts with the personal WeChat official account. : Xiao ha Xue Java Personal website address :https://www.exception.site/docker/docker-configuration-of-mirror-acceler ...

Random recommendation

  1. Talk about JPA-02-HelloWorld

    Use JPA Steps to persist objects establish persistence.xml, Configure the persistence unit in this file You need to specify which database to interact with ; You need to specify the JPA Which persistent framework to use and configure the basic properties of the framework Create entities ...

  2. mysql Achieve high efficiency random access to data

    From the database (mysql) It's easy to get a few pieces of data at random , But if the data base of a table is large , Like 10 million , Randomly generated from 10 million 10 Data , That's pretty slow , If 100 people visit the website at the same time , Deal with these two processes , For a typical server , Ken ...

  3. [ You have to know .NET] The first time : Love and hatred :is and as

    This article will introduce the following Rong : •  Type conversion • is/as On operators 1.  introduction Type safety is .NET At the beginning of the design, we focused on One of the contents of , For programmers , Fully grasp the type security of system data , It's often a matter of not being able to do what you want . Now? , ...

  4. linux Remote tools

    SecureCRT SecureCRT Official website address :http://www.vandyke.com/products/securecrt/ Xmanager Official website :http://www.netsarang ...

  5. How to n Number to sort , Time complexity required O(n), Spatial complexity O(1)

    It seems that no known algorithm can do it , If anyone does , So all the sorting methods :QuickSort,ShellSort,HeapSort,BubbleSort Etc., etc. , You can throw it away , What are these algorithms for , ha-ha . No ...

  6. vs The design interface appears “ Error creating control Response is not available in this context ”

    Use VS2010 Design Asp.net When : Only in the configuration file or Page In the command enableSessionState Set to true when , To use session state . Also make sure that in the application configuration \\ Section includes ...

  7. (2-3)Eureka Detailed explanation

    Infrastructure Service registry Service providers Serving consumers Service governance Service providers Service registration . At the time of service registration , It needs to be confirmed that eureka.client.registerwith-eurek=ture Is the parameter correct , The default is ...

  8. shell Programming specification : quote

    Shell Code specification do person : Bi Xiaopeng use Way : standard Shell Code writing , Easy to view and modify Bo customer : http://blog.csdn.net/wirelessqa ginseng Examination : http://www.ohl ...

  9. Front end automation build tool --Gulp&amp;&amp;Webpack

    The function of front-end building tools can be considered as file level processing of source project files or resources , Process files or resources into the best output structure and form you need . During processing , We can modularize the introduction of files . Dependency analysis . Resource consolidation . Compression optimization . File embed . Path replacement ...

  10. [Coding Study]—— Catalog

    Coding Study Source Code for cnblogs This is the source code for coding study, you can see my Coding ...