LeetCode-Anki icon indicating copy to clipboard operation
LeetCode-Anki copied to clipboard

urllib error when running main.py

Open julian31186 opened this issue 2 years ago • 0 comments

when I try running the main file, I get

File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg)

a ton of these then two errors at the bottom. The first one being SSLCertificate verification failure, and the second being URL open error

does anyone know any solutions to this?

julian31186 avatar Oct 09 '22 19:10 julian31186