uci-ml-repo / ucimlrepo

Python package for dataset imports from UCI ML Repository
MIT License
216 stars 90 forks source link

SSL Certificate Error #6

Closed sahmerdandx closed 11 months ago

sahmerdandx commented 11 months ago

I think your web site's SSL certificate expired.

Wizard254 commented 11 months ago

It's taken too long for the SSL certificate to be updated. Disabling SSL certificate verification should dirtily fix this, as shown below:

from ucimlrepo import fetch_ucirepo
import ssl

# Ignore ssl certificate verification
ssl._create_default_https_context = ssl._create_unverified_context

# fetch dataset 
covertype = fetch_ucirepo(id=31)
ptruong0 commented 11 months ago

Apologies for the downtime, there was a delay with the university in renewing our SSL certificate.

appymittal commented 9 months ago

Just to bring this to your attention, I am still facing the same issue. But @Wizard254 solution worked for me. Thank you!