pip install 安装时出现Could not fetch URL https://pypi.python.org/simple/pool/

创建pip.ini文件

文件内容如下

[global]

index-url=http://mirrors.aliyun.com/pypi/simple/

[install]

trusted-host=mirrors.aliyun.com

还需要配置一下环境变量    %HOMEPATH%\pip\pip.ini添加到path中

发布了2 篇原创文章 · 获赞 0 · 访问量 52

猜你喜欢

转载自blog.csdn.net/weixin_41064152/article/details/104094636