File "D:\Python37\lib\urllib\request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "D:\Python37\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\Python37\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\Python37\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\Python37\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "D:\Python37\lib\http\client.py", line 956, in send
self.connect()
File "D:\Python37\lib\http\client.py", line 1392, in connect
server_hostname=server_hostname)
File "D:\Python37\lib\ssl.py", line 412, in wrap_socket
session=session
File "D:\Python37\lib\ssl.py", line 850, in _create
self.do_handshake()
File "D:\Python37\lib\ssl.py", line 1108, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
File "D:\Python37\lib\urllib\request.py", line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "D:\Python37\lib\http\client.py", line 1229, in request self._send_request(method, url, body, headers, encode_chunked) File "D:\Python37\lib\http\client.py", line 1275, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "D:\Python37\lib\http\client.py", line 1224, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "D:\Python37\lib\http\client.py", line 1016, in _send_output self.send(msg) File "D:\Python37\lib\http\client.py", line 956, in send self.connect() File "D:\Python37\lib\http\client.py", line 1392, in connect server_hostname=server_hostname) File "D:\Python37\lib\ssl.py", line 412, in wrap_socket session=session File "D:\Python37\lib\ssl.py", line 850, in _create self.do_handshake() File "D:\Python37\lib\ssl.py", line 1108, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)