如果url时https,会报该错误,只需要在文件开头加入以下代码即可 import ssl ssl._create_default_https_context = ssl._create_unverified_context 相关文章: