requests sslerror

比较烦人的状况:python

使用pip安装任何包和requests库请求https站都会提示SSL错误,试了网上不少方法,仍是没解决,最后升级pip和requests库解决,特作记录。bootstrap

 

升级pipcurl

curl https://bootstrap.pypa.io/get-pip.py >> get-pip.pyurl

python3.5 get-pip.pyip

 

升级requests库:get

pip3.5 uninstall requestsrequests

pip3.5 install requestspip

相关文章
相关标签/搜索