python3 urllib3发出网络请求时SSL: CERTIFICATE_VERIFY_FAILED

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/y_f_raquelle/article/details/83821362

python3使用urllib3请求时出现SSL: CERTIFICATE_VERIFY_FAILED错误:

安装安全模式:pip install requests[security]

此时如果出现command 'x86_64-linux-gnu-gcc' failed with exit status 1错误:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

参考链接:

https://blog.csdn.net/iaiti/article/details/49613097

猜你喜欢

转载自blog.csdn.net/y_f_raquelle/article/details/83821362