'Scraping: [SSL: CERTIFICATE_VERIFY_FAILED] (Update Shell Profile and Install Certificates DID NOT WORK)

I'm on MacOS: I've gotten the following error after running both the Install Certificates.command and the Update Shell Profile.command.

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

I'm also using conda and I've tried running the following line in the terminal.

conda install -c anaconda certifi

None of these solutions have worked. Any help would be appreciated !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source