How To Fix Python Error Certificate Verify Failed: Unable To Get Local Issuer Certificate In Mac OS
When I run Python code in Mac OS, I meet a certificate verify failed error like this ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056). This error confused me a lot of time. And after googling the error, I finally found the solution to fix it, below are the steps.