1. 程式人生 > >python3 urllib3發出網路請求時SSL: CERTIFICATE_VERIFY_FAILED

python3 urllib3發出網路請求時SSL: CERTIFICATE_VERIFY_FAILED

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