pip安装问题:There was a problem confirming ssl certificate

pip install 安装第三方插件是出现Could not fetch URL https://pypi.python.org/simple/pool/: There was a problem confirming ssl certificate问题

解决办法如下:
在python安装目录下创建pip.ini,pip.ini配置内容如下:

[global]

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

[install]

trusted-host=mirrors.aliyun.com

环境变量已经配置了python路径在path中,故此处不需再配置path,再用pip下载第三方插件即可

 

posted @ 2020-07-07 16:14  CarolBright  阅读(1377)  评论(0编辑  收藏  举报