python- Ali mirror source -pip

The source is set to pip China

>>>windows

  1 address bar% appdata%

  2 New pip price file

  3 folder build pip.ini

    content:

    [global]
    timeout = 6000
    index-url = https://mirrors.aliyun.com/pypi/simple/
    trusted-host = mirrors.aliyun.com
>>>linux
(1)cd ~
(2)mkdir ~/.pip
(3) there ~ / .pip / pip.conf
(4) editorial content, and exactly the same windows

Guess you like

Origin www.cnblogs.com/person1-0-1/p/11320382.html