Open jinxiyu opened 2 years ago
Hi @jinxiyu ,
Thanks for your feedback. If you are getting an SSL error after installing Python on MacOSX, then it's most likely because the SSL certificates are not installed automatically, you need to install them. This is a common problem, so I added it to the FAQ on the project's home page:
I'm getting an SSL error on MacOSX
You probably need to install the SSL certificates (see this StackOverflow question). If you downloaded Python from the official website, then run
/Applications/Python\ 3.8/Install\ Certificates.command
in a terminal (change3.8
to whatever version you installed). If you installed Python using MacPorts, runsudo port install curl-ca-bundle
in a terminal.
⚠️⚠️⚠️ Please do not use ssl._create_default_https_context = ssl._create_unverified_context
: it is really unsafe! It is basically turning all SSL security off.
Hope this helps.
The following is required to Cancel certificate validation globally