1.Ctrl+R 输入 %APPDATA%
2.新建pip目录,并在pip目录下新建pip.ini
3.在pip.ini中输入:
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
原文地址:https://www.cnblogs.com/chenzhaoyu/p/9733734.html
时间: 2024-10-05 14:10:41
1.Ctrl+R 输入 %APPDATA%
2.新建pip目录,并在pip目录下新建pip.ini
3.在pip.ini中输入:
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
原文地址:https://www.cnblogs.com/chenzhaoyu/p/9733734.html