URLError at Building dataset - p.4 Data Analysis with Python and Pandas Tutorial
Hi! I got stuck while I was following your turorial in "Building dataset - p.4 Data Analysis with Python and Pandas Tutorial".
It seems I cannot read html page with your code, "fiddy_states = pd.read_html('https://simple.wikipedia.org/wiki/List_of_U.S._states') print(fiddy_states)"
Following are my error messages. # this version of raise is a syntax error in Python 3 URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:646)>
Soma Cheers.
You must be logged in to post. Please login or register an account.
Hmm, are you visiting via a really old computer / server? For some reason the SSL is failing, might be a case of an outdated server that is unable to work with the https. Try removing the s in the URL.
-Harrison 9 years ago
You must be logged in to post. Please login or register an account.
Hi! Thank you for your reply. I am currently using Mac book which I bought 2 month ago lol. I tried
You must be logged in to post. Please login or register an account.
Seems like maybe the version of Python you install may be to blame. One person mentioned "homebrew tool" for causing trouble. Have you done the same or maybe acquired Python in some other way?
See here: http://stackoverflow.com/questions/27835619/ssl-certificate-verify-failed-error
-Harrison 9 years ago
You must be logged in to post. Please login or register an account.