解决 pip install 安装时出现Could not fetch URLd的问题

Posted 靡不有初_鲜克有终

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决 pip install 安装时出现Could not fetch URLd的问题相关的知识,希望对你有一定的参考价值。

1、cmd  进入 并 创建 pip文件夹      md pip

2、在 pip文件夹下创建pip.ini ,并输入

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com

3、配置环境变量

          

 

以上是关于解决 pip install 安装时出现Could not fetch URLd的问题的主要内容,如果未能解决你的问题,请参考以下文章