码迷,mamicode.com
首页 > 编程语言 > 详细

SSL: CERTIFICATE_VERIFY_FAILED - mac python3.6

时间:2018-01-15 00:16:41      阅读:296      评论:0      收藏:0      [点我收藏+]

标签:分享   urllib   package   err   span   post   man   python3.6   style   

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

技术分享图片

SSL: CERTIFICATE_VERIFY_FAILED - mac python3.6

标签:分享   urllib   package   err   span   post   man   python3.6   style   

原文地址:https://www.cnblogs.com/junpoo/p/8284524.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!