SSL: CERTIFICATE_VERIFY_FAILED - mac python3.6

Using mac os python3.6 to connect ssl will occur urllib.error.URLError. It requires a post-install step, which installs the certifi package of certificates. The solution is:

1. Find /Applications/Python\ 3.6/Install\ Certificates.command

2. Run it, then it is OK

posted @ 2018-01-14 21:51  Junpoo  阅读(542)  评论(0)    收藏  举报