Open septerlt opened 1 month ago
I am getting the same or similar error trying to install on SD WebUI Forge Web UI Forge - CU 12.1 - Torch 23.1
Error running install.py for extension D:\AI\WebUI\webui\extensions\sd-webui-reactor. Command: "D:\AI\WebUI\system\python\python.exe" "D:\AI\WebUI\webui\extensions\sd-webui-reactor\install.py" Error code: 1 stderr: D:\AI\WebUI\webui\extensions\sd-webui-reactor\install.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources Traceback (most recent call last): File "urllib\request.py", line 1348, in do_open File "http\client.py", line 1282, in request File "http\client.py", line 1328, in _send_request File "http\client.py", line 1277, in endheaders File "http\client.py", line 1037, in _send_output File "http\client.py", line 975, in send File "http\client.py", line 1454, in connect File "ssl.py", line 513, in wrap_socket File "ssl.py", line 1071, in _create File "ssl.py", line 1342, in do_handshake *** ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
*** During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\AI\WebUI\webui\extensions\sd-webui-reactor\install.py", line 62, in
---- Important Note - I have Reactor running perfectly on Automatic 1111 on the same Windows 11 machine.
.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> Same error .....Any solutions ? @g2goswami @Gourieff
First, confirm
What happened?
Installed a clean windows 11 24H2 system, and latest stable Automatic1111 (Python 3.10.6 + Git) and got an error when installing Reactor:
` Error running install.py for extension E:\NeuroHub\A1111\extensions\sd-webui-reactor. Command: "E:\NeuroHub\A1111\venv\Scripts\python.exe" "E:\NeuroHub\A1111\extensions\sd-webui-reactor\install.py" Error code: 1 stderr: E:\NeuroHub\A1111\extensions\sd-webui-reactor\install.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources Traceback (most recent call last): File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1037, in _send_output self.send(msg) File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 975, in send self.connect() File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1454, in connect self.sock = self._context.wrap_socket(self.sock, File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1071, in _create self.do_handshake() File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() *** ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
*** During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "E:\NeuroHub\A1111\extensions\sd-webui-reactor\install.py", line 62, in
download(model_url, model_path)
File "E:\NeuroHub\A1111\extensions\sd-webui-reactor\install.py", line 53, in download
request = urllib.request.urlopen(url)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 557, in error
result = self._call_chain(args)
** File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 519, in open
response = self._open(req, data)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "C:\Users\septe\AppData\Local\Programs\Python\Python310\lib\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:997)>`
Steps to reproduce the problem
Sysinfo
Ryzen 7600, 64gb RAM, 4060 ti 16 gb, 2Tb SSD for Automatic1111 e.t,c Windows 11 Pro 24H2 (license) Google chrome browser Automatic1111 version: [v1.10.1] • python: 3.10.6 • torch: 2.1.2+cu121 • xformers: N/A • gradio: 3.41.2 sysinfo-2024-10-13-01-47.json
Relevant console log
Additional information
No response