pandas.read_csv 报ssl.SSLError

😓 常常因为排错耽误进度,其实requests也有问题,不过重点是read_csv的问题

用pandas.read_csv 访问url2,报两个错(python3.6, macosV10.14.1):
1. ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
2. urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>

 解决办法:Just browse to Applications/Python 3.6 and double-click Install Certificates.command

   感谢:https://stackoverflow.com/a/42098127/6294763

 

posted @ 2018-11-25 13:15  vivi~  阅读(603)  评论(0编辑  收藏  举报