python使用requests时报错requests.exceptions.SSLError: HTTPSConnectionPool
2021-07-15 19:06
标签:bsp port secure install www. 没有 get 问题 verify requests.exceptions.SSLError: HTTPSConnectionPool(host=‘www.baidu.com‘, port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, u‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)‘),)) 正确的做法参考文档资料 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl 参考博客:http://blog.csdn.net/zahuopuboss/article/details/52964809 只要安装一下几个requests依赖包就可以解决此问题 pip install cryptography pip install pyOpenSSL pip install certifi 原文转至博客:https://blog.csdn.net/qq_31077649/article/details/79013199 python使用requests时报错requests.exceptions.SSLError: HTTPSConnectionPool 标签:bsp port secure install www. 没有 get 问题 verify 原文地址:https://www.cnblogs.com/hum0ro/p/9536033.html
文章标题:python使用requests时报错requests.exceptions.SSLError: HTTPSConnectionPool
文章链接:http://soscw.com/index.php/essay/105700.html