I had wanted to solve the [SSL: CERTIFICATE_VERIFY_FAILED] problem, because i use mac and python 3,a lot of guys said i should run /Applications/Python\ 3.6/Install\ Certificates.command
but after i run the certificates.command, i seemed not work, terminal told me a lot of errors
and the problem of [SSL: CERTIFICATE_VERIFY_FAILED] isn't solved, i suspect maybe certificates wasn't installed properly
but i check pip list, certifi is the newest type, who can help me?
terminal information is:
Traceback (most recent call last):
File "<stdin>", line 44, in <module>
File "<stdin>", line 25, in main
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6', '-E', '-s', '-m', 'pip', 'install', '--upgrade', 'certifi']' returned non-zero exit status 1.
my original programs is:
import pandas as pd
states = pd.read_html('https://simple.wikipedia.org/wiki/List_of_U.S._states')
print(states)