Closed hankhank10 closed 8 months ago
What does the following Python script print on your machine?
from urllib.request import urlopen
r = urlopen('https://www.wikidata.org/')
print(r.code, r.reason)
Install the latest version of OpenSSL on your computer and add "ssl" module for python.
https://slproweb.com/download/Win64OpenSSL-3_2_0.msi
python -m pip install ssl
After installing and running the demonstration code I get the following error after the first two lines
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)>