Open xin-huang opened 3 years ago
Thanks for the report @xin-huang! It sounds like it isn't happy with our "Let's encrypt" certificate. Glad you found the workaround.
I think this could be a general issue @benjeffery - we've hit the same thing over here: https://github.com/pystatgen/sgkit/issues/733
Eeesh, nasty. Not much we can do but wait for fixes.
@xin-huang Your fix worked!!!!!!
For some context in case others face the same issue: I was trying to import whitebox from the WhiteboxTools python package. I was getting this error:
Unexpected error: <class 'urllib.error.URLError'>
This post on S/O seems to be relevant for this issue, but didn't fix it in my case: https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error
Hi
When I tried to download the example data with
%load https://tskit.dev/tutorials/examples/download.py
I got this
SSLCertVerificationError
on WindowsBut I can download the data successfully on Ubuntu 20.04
I found a solution according to https://stackoverflow.com/questions/35569042/ssl-certificate-verify-failed-with-python3
and fixed it by adding
into https://github.com/tskit-dev/tutorials/blob/main/data/download.py