ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
I was trying to run a script of my pyhton file but then my terminal showing a message of CERTIFICATE_VERIFY_FAILED
CERTIFICATE_VERIFY_FAILED |
I'm using a mac and after doing several research, solving problem is quite easy by just going to Application > Python3.6 (or other version you are using) > Double click on "Install Certificates.command" files.
For more information you can see this stackoverflow link.