Development environment OS: macOS(Catalina 10.15.4) python: 3.8.2
As the title says, I put Python on my Mac and used it normally. When I tried to insert poetry and executed the command, the following error occurred
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
When I tried google, it was okay if I installed the CA certificate, so I executed the following command and installed it, and it was solved successfully
$ zsh /Applications/Python\ 3.8/Install\ Certificates.command
It's just this content, but I thought that everyone would get caught like this, but when I googled it, it didn't hit so much, so I looked at the official website.
For macOS users ♡ Important information about SSL / TLS certificate verification and execution of "Install Certificates.command" will be displayed during python installation, so be sure to check it out! !! !! (Free translation) From Official Site
It was really written. I don't remember much when I installed it, but at least I didn't remember reading this text for macOS users.
Everyone, let's take a look at the official download page. Also, especially the parts that are specifically mentioned as the OS. </ strong>
Recommended Posts