lmcinnes / umap

Uniform Manifold Approximation and Projection
BSD 3-Clause "New" or "Revised" License
7.46k stars 809 forks source link

Penguins example SSL error #1073

Open ahill187 opened 1 year ago

ahill187 commented 1 year ago

Description

When running the penguins example in Jupyter:

penguins = pd.read_csv("https://raw.githubusercontent.com/allisonhorst/palmerpenguins/c19a904462482430170bfe2c718775ddb7dbb885/inst/extdata/penguins.csv")
penguins.head()

I get the following error:

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

You need to add this line to fix it:

import ssl

ssl._create_default_https_context = ssl._create_unverified_context