The reason is that the SSL certificate needs to be verified, but the certificate verification failed. I tried some methods on the Internet, mainly including canceling certificate verification and installing the latest certificate. I didn’t find a suitable method to install the latest certificate, so I used the method of canceling certificate verification. The specific operation is to add the following code at the location where the file needs to be downloaded:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
Read More:
- Sslcertverificationerror when downloading using Python: [SSL: certificate_verify_failed] error
- python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)
- cURL error 60: SSL certificate problem…
- server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
- PHP function file_ get_ Contents() reports an error when using HTTPS protocol: SSL operation failed
- Idea svn connection https error report: E230001: Server SSL certificate verification failed: certificate issued
- Install of Android studio_ FAILED_ OLDER_ Solutions to SDK
- svn: E230001: Server SSL certificate verification failed: certificate issued
- Get picture captcha with Python + Chrome
- firefox sec_error_untrusted_issuer
- SAP ABAP HTTPS installation certificate to SAP application server
- The solution of GDB code designed problem in Mac OS X
- Common errors and solutions of Qt development application under Ubuntu
- Tensorflow with tf.Session The usage of () as sess
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain
- The problem that the content extra data in the notification cannot be updated
- Spark login error unable to verify certificate and certificate host name verification failed
- Processing method of eslint verification error
- To solve the problem that deep in 20.2 system cannot save and transform the format of typora, and provide an effective installation method of typora