当前位置:网站首页>urllib.error. URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: un
urllib.error. URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: un
2022-07-27 23:38:00 【nsq1101】
Preface
Have a problem urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>
function Python Model time , When downloading files on the network , Certificate validation failed , The most general solution is adopted here .
Solution
Cancel certificate validation globally
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
Just add it to the front of the code
边栏推荐
- The technology of applet container is very promising, which can greatly improve the efficiency of mobile R & D
- 进制转换方法
- 76000 people shut down! Toshiba announced the closure of all factories in Japan
- 【软考软件评测师】2014综合知识历年真题
- Calling dht11/22 temperature and humidity sensor in Proteus simulation Arduino
- 实现按照序号命名的txt文件由后往前递补重命名文件
- What technology is RPA process automation robot? How to realize office automation?
- The print version of imeta | international standard ISSN is officially confirmed, and the application for dual ISSN is completed
- 总投资600亿!富士康半导体高端封测项目正式落户青岛
- 四次挥手的Socket交互流程
猜你喜欢

NDK 系列(6):说一下注册 JNI 函数的方式和时机

【数字识别】基于知识库实现手写体数字识别附matlab代码

习题 --- BFS

【GNN报告】加拿大蒙特利尔唐建:Geometric Deep Learning For Drug Discovery

Blender plug-in of 2022

一位软件投资者的独白:我为什么不追逐快速增长的公司

面试官:说一下网络数据传输的具体流程

【 图像去雾】基于暗通道和非均值滤波实现图像去雾附matlab代码

NDK series (6): let's talk about the way and time to register JNI functions
![[number recognition] recognize 0-9 numbers based on Hopfield neural network with matlab code](/img/10/de712b67a7538be03f8fb722271949.png)
[number recognition] recognize 0-9 numbers based on Hopfield neural network with matlab code
随机推荐
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: un
技术认证 | 图扑软件携手华为云再创合作共赢新局面
Nature review: preferential effects in the formation of microbial communities
Software test function test full set of common interview questions [function test] interview summary 4-2
华为鸿蒙 3 正式发布,这个安全功能解决了一大痛点
股价暴涨180.46%!国产大硅片龙头沪硅产业上市:近4年净利累计不足6000万
Desai wisdom number - other charts (parallel coordinate chart): family's willingness to allocate assets in the future
采用汇顶屏下光学指纹方案,三星Galaxy A71 5G上市
怎么使用xshell免费版
Huawei Hongmeng 3 was officially released, and this security feature has solved a major pain point
【 图像去雾】基于暗通道和非均值滤波实现图像去雾附matlab代码
习题 --- BFS
XML external entity (xxE) vulnerability and its repair method
他山之石 | 蚂蚁超大规模知识图谱构建及应用
Starfish Os X MetaBell战略合作,元宇宙商业生态更进一步
Redis的分布式锁
许锦波:AI蛋白质预测与设计
史上最简明的 Tcpdump 入门指南,看这一篇就够了
图基本知识代码
NDK series (6): let's talk about the way and time to register JNI functions