美文网首页
requests.exceptions.SSLError报错

requests.exceptions.SSLError报错

作者: 217760757146 | 来源:发表于2021-04-05 17:58 被阅读0次

https://www.jianshu.com/p/38c1ba472db3

SSLError.png

1.可能是requests的依赖包缺失

pip3 install cryptography 
pip3 install pyOpenSSL
pip3 install certifi

2.如果安装依赖包了

response = requests.get('https://xxx', headers=headers, verify=False)

相关文章

网友评论

      本文标题:requests.exceptions.SSLError报错

      本文链接:https://www.haomeiwen.com/subject/nnidkltx.html