Python3 解决pip报ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)

ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),))

错误: 验证证书失败

 

 

解决方法;

1 找到如图文件,打开

1

 

在410行添加 vertify=False

 

 3再次执行,就可以啦

 

 

posted @ 2020-03-12 19:43  dayu2020  阅读(1351)  评论(0编辑  收藏  举报