Open HGkidudeski opened 1 year ago
EDIT: I found a solution. RUN /Applications/Python\ 3.11/Install\ Certificates.command "I have exact the same issue with Python 3.11 and Mac OS Ventura. I used 1.6.1 version with Mac OS Big Sur, but after upgrade I came with this issue. I hope to find some help. Thanks"
Is there an existing issue for this?
I'm submitting a ...
Description
error :
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/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.11/lib/python3.11/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1037, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 975, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1454, in connect self.sock = self._context.wrap_socket(self.sock, File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/harpergalbreath/YouTube-Viewer/youtube_viewer.py", line 1003, in
osname, exe_name = download_driver(patched_drivers=patched_drivers)
File "/Users/harpergalbreath/YouTube-Viewer/youtubeviewer/download_driver.py", line 112, in download_driver
uc.install()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 262, in install
ChromeDriverManager(executable_path, target_version, *args, *kwargs).install()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 192, in install
self.fetch_chromedriver()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 221, in fetch_chromedriver
ver = self.get_release_version_number().vstring
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/undetected_chromedriver/_compat.py", line 211, in get_release_version_number
return LooseVersion(urlopen(self.class.DL_BASE + path).read().decode())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(args)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)>
Environment
config.json