Open APersonCalledIsaac opened 1 day ago
What OS are you using?
MacOS
Try what @Kung-Fu-Stalin said
Error: Cannot connect to host storage.googleapis.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)')]
Set param
ssl
equal toFalse
like:session.get(url, ssl=False)
go to the Applications folder in Finder then to Python 3.12 folder and doubleclick on Install Certificates.command and re-run the script
IIn MacOS, you might need to install certificates separately. You can do this by running the Install Certificates.command
script that comes with Python installations. You can find it in the Python installation directory (usually under /Applications/Python <version>/
)
If you are still facing the issue, try uninstalling the Python
program from Applications
and run brew install python
or you can use virtual environment pyenv
.
You can find the certificate under /opt/homebrew/opt/python/libexec
for ARM architecture. Simply run,
open /opt/homebrew/opt/python/libexec/Install\ Certificates.command
IIn MacOS, you might need to install certificates separately. You can do this by running the
Install Certificates.command
script that comes with Python installations. You can find it in the Python installation directory (usually under/Applications/Python <version>/
)If you are still facing the issue, try uninstalling the
Python
program fromApplications
and runbrew install python
or you can use virtual environmentpyenv
.You can find the certificate under
/opt/homebrew/opt/python/libexec
for ARM architecture. Simply run,open /opt/homebrew/opt/python/libexec/Install\ Certificates.command
This fixed my issues from above
Error: Cannot connect to host storage.googleapis.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]