Windows:
在 C:\Users\用户名 下面新建一个pip目录,在该目录下面新增 pip.ini 文件,文件的内容如下
Linux:
vim ~
/
.pip
/
pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com
Windows:
在 C:\Users\用户名 下面新建一个pip目录,在该目录下面新增 pip.ini 文件,文件的内容如下
Linux:
vim ~
/
.pip
/
pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com