创建pip.ini文件
文件内容如下
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
还需要配置一下环境变量 %HOMEPATH%\pip\pip.ini添加到path中
创建pip.ini文件
文件内容如下
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
还需要配置一下环境变量 %HOMEPATH%\pip\pip.ini添加到path中