Skip to content

Latest commit

 

History

History

pip

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

pip 换源

  • 一次使用

    pip install -i https://mirrors.aliyun.com/pypi/simple xxx
  • 换源

    编辑 pip.conf 文件如下:

    [global]
    index-url = https://mirrors.aliyun.com/pypi/simple/
    [install]
    trusted-host=mirrors.aliyun.com
    
    • Windows 下文件位置:C:\Users\XXX\pip\pip.conf
    • Linux & Mac OS 下文件位置:~/.pip/pip.conf
  • 此外还有