又报错

痛苦

痛苦

痛苦

URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1131)>

解决方法

import ssl ssl._create_default_https_context = ssl._create_unverified_context

posted @ 2024-03-17 21:09  zrswheart  阅读(2)  评论(0编辑  收藏  举报