python certificate verify failed

简单粗暴的一种solution:
在代码中添加

import ssl
import urllib
ssl._create_default_https_context = ssl._create_unverified_context

猜你喜欢

转载自blog.csdn.net/YangZuo_Chester/article/details/79825252