ITADN

[Bug]: Instaling clip

#467OpenVasyaPupkin1337 创建于 2026-02-15
V
VasyaPupkin1337commented
### Checklist - [ ] The issue exists after disabling all extensions - [x] The issue exists on a clean installation of webui - [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [ ] The issue exists in the current version of the webui - [ ] The issue has not been reported before recently - [ ] The issue has been reported before but has not been fixed yet ### What happened? Creating venv in directory C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv using python "C:\Users\Spxctrv\AppData\Local\Programs\Python\Python310\python.exe" Requirement already satisfied: pip in c:\users\spxctrv\desktop\stable-diffusion-webui-reforge\venv\lib\site-packages (22.2.1) Collecting pip Using cached pip-26.0.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.1 Uninstalling pip-22.2.1: Successfully uninstalled pip-22.2.1 Successfully installed pip-26.0.1 venv "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f1.0.0v2-v1.10.1RC-latest-2503-g78ed735f Commit hash: 78ed735f25808662f907dbf5a86a9c3cfd4be60a Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu128 Collecting torch==2.9.0 Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (29 kB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (5.5 kB) Collecting filelock (from torch==2.9.0) Using cached filelock-3.24.1-py3-none-any.whl.metadata (2.0 kB) Collecting typing-extensions>=4.10.0 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB) Collecting sympy>=1.13.3 (from torch==2.9.0) Using cached sympy-1.14.0-py3-none-any.whl.metadata (12 kB) Collecting networkx>=2.5.1 (from torch==2.9.0) Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) Collecting jinja2 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting fsspec>=0.8.5 (from torch==2.9.0) Using cached fsspec-2026.2.0-py3-none-any.whl.metadata (10 kB) Collecting numpy (from torchvision) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Collecting torchvision Using cached torchvision-0.25.0-cp310-cp310-win_amd64.whl.metadata (5.4 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.1%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Using cached torchvision-0.24.1-cp310-cp310-win_amd64.whl.metadata (5.9 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl.metadata (9.0 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch==2.9.0) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch==2.9.0) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl.metadata (2.8 kB) Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl (2860.3 MB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl (9.0 MB) Using cached fsspec-2026.2.0-py3-none-any.whl (202 kB) Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl (7.0 MB) Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) Using cached filelock-3.24.1-py3-none-any.whl (24 kB) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl (134 kB) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl (15 kB) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl (12.9 MB) Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision Successfully installed MarkupSafe-3.0.3 filelock-3.24.1 fsspec-2026.2.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 numpy-2.2.6 pillow-12.1.1 sympy-1.14.0 torch-2.9.0+cu128 torchvision-0.24.0+cu128 typing-extensions-4.15.0 Installing clip Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 51, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 39, in main prepare_environment() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 446, in prepare_environment run_pip(f"install {clip_package}", "clip") File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 147, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 119, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install clip. Command: "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' stderr: error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [17 lines of output] Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 3, in <module> ModuleNotFoundError: No module named 'pkg_resources' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel Press any key to continue . . . ### Steps to reproduce the problem Creating venv in directory C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv using python "C:\Users\Spxctrv\AppData\Local\Programs\Python\Python310\python.exe" Requirement already satisfied: pip in c:\users\spxctrv\desktop\stable-diffusion-webui-reforge\venv\lib\site-packages (22.2.1) Collecting pip Using cached pip-26.0.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.1 Uninstalling pip-22.2.1: Successfully uninstalled pip-22.2.1 Successfully installed pip-26.0.1 venv "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f1.0.0v2-v1.10.1RC-latest-2503-g78ed735f Commit hash: 78ed735f25808662f907dbf5a86a9c3cfd4be60a Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu128 Collecting torch==2.9.0 Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (29 kB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (5.5 kB) Collecting filelock (from torch==2.9.0) Using cached filelock-3.24.1-py3-none-any.whl.metadata (2.0 kB) Collecting typing-extensions>=4.10.0 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB) Collecting sympy>=1.13.3 (from torch==2.9.0) Using cached sympy-1.14.0-py3-none-any.whl.metadata (12 kB) Collecting networkx>=2.5.1 (from torch==2.9.0) Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) Collecting jinja2 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting fsspec>=0.8.5 (from torch==2.9.0) Using cached fsspec-2026.2.0-py3-none-any.whl.metadata (10 kB) Collecting numpy (from torchvision) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Collecting torchvision Using cached torchvision-0.25.0-cp310-cp310-win_amd64.whl.metadata (5.4 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.1%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Using cached torchvision-0.24.1-cp310-cp310-win_amd64.whl.metadata (5.9 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl.metadata (9.0 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch==2.9.0) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch==2.9.0) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl.metadata (2.8 kB) Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl (2860.3 MB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl (9.0 MB) Using cached fsspec-2026.2.0-py3-none-any.whl (202 kB) Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl (7.0 MB) Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) Using cached filelock-3.24.1-py3-none-any.whl (24 kB) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl (134 kB) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl (15 kB) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl (12.9 MB) Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision Successfully installed MarkupSafe-3.0.3 filelock-3.24.1 fsspec-2026.2.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 numpy-2.2.6 pillow-12.1.1 sympy-1.14.0 torch-2.9.0+cu128 torchvision-0.24.0+cu128 typing-extensions-4.15.0 Installing clip Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 51, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 39, in main prepare_environment() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 446, in prepare_environment run_pip(f"install {clip_package}", "clip") File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 147, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 119, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install clip. Command: "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' stderr: error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [17 lines of output] Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 3, in <module> ModuleNotFoundError: No module named 'pkg_resources' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel Press any key to continue . . . ### What should have happened? Creating venv in directory C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv using python "C:\Users\Spxctrv\AppData\Local\Programs\Python\Python310\python.exe" Requirement already satisfied: pip in c:\users\spxctrv\desktop\stable-diffusion-webui-reforge\venv\lib\site-packages (22.2.1) Collecting pip Using cached pip-26.0.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.1 Uninstalling pip-22.2.1: Successfully uninstalled pip-22.2.1 Successfully installed pip-26.0.1 venv "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f1.0.0v2-v1.10.1RC-latest-2503-g78ed735f Commit hash: 78ed735f25808662f907dbf5a86a9c3cfd4be60a Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu128 Collecting torch==2.9.0 Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (29 kB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (5.5 kB) Collecting filelock (from torch==2.9.0) Using cached filelock-3.24.1-py3-none-any.whl.metadata (2.0 kB) Collecting typing-extensions>=4.10.0 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB) Collecting sympy>=1.13.3 (from torch==2.9.0) Using cached sympy-1.14.0-py3-none-any.whl.metadata (12 kB) Collecting networkx>=2.5.1 (from torch==2.9.0) Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) Collecting jinja2 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting fsspec>=0.8.5 (from torch==2.9.0) Using cached fsspec-2026.2.0-py3-none-any.whl.metadata (10 kB) Collecting numpy (from torchvision) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Collecting torchvision Using cached torchvision-0.25.0-cp310-cp310-win_amd64.whl.metadata (5.4 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.1%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Using cached torchvision-0.24.1-cp310-cp310-win_amd64.whl.metadata (5.9 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl.metadata (9.0 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch==2.9.0) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch==2.9.0) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl.metadata (2.8 kB) Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl (2860.3 MB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl (9.0 MB) Using cached fsspec-2026.2.0-py3-none-any.whl (202 kB) Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl (7.0 MB) Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) Using cached filelock-3.24.1-py3-none-any.whl (24 kB) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl (134 kB) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl (15 kB) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl (12.9 MB) Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision Successfully installed MarkupSafe-3.0.3 filelock-3.24.1 fsspec-2026.2.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 numpy-2.2.6 pillow-12.1.1 sympy-1.14.0 torch-2.9.0+cu128 torchvision-0.24.0+cu128 typing-extensions-4.15.0 Installing clip Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 51, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 39, in main prepare_environment() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 446, in prepare_environment run_pip(f"install {clip_package}", "clip") File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 147, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 119, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install clip. Command: "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' stderr: error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [17 lines of output] Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 3, in <module> ModuleNotFoundError: No module named 'pkg_resources' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel Press any key to continue . . . ### What browsers do you use to access the UI ? _No response_ ### Sysinfo Creating venv in directory C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv using python "C:\Users\Spxctrv\AppData\Local\Programs\Python\Python310\python.exe" Requirement already satisfied: pip in c:\users\spxctrv\desktop\stable-diffusion-webui-reforge\venv\lib\site-packages (22.2.1) Collecting pip Using cached pip-26.0.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.1 Uninstalling pip-22.2.1: Successfully uninstalled pip-22.2.1 Successfully installed pip-26.0.1 venv "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f1.0.0v2-v1.10.1RC-latest-2503-g78ed735f Commit hash: 78ed735f25808662f907dbf5a86a9c3cfd4be60a Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu128 Collecting torch==2.9.0 Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (29 kB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (5.5 kB) Collecting filelock (from torch==2.9.0) Using cached filelock-3.24.1-py3-none-any.whl.metadata (2.0 kB) Collecting typing-extensions>=4.10.0 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB) Collecting sympy>=1.13.3 (from torch==2.9.0) Using cached sympy-1.14.0-py3-none-any.whl.metadata (12 kB) Collecting networkx>=2.5.1 (from torch==2.9.0) Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) Collecting jinja2 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting fsspec>=0.8.5 (from torch==2.9.0) Using cached fsspec-2026.2.0-py3-none-any.whl.metadata (10 kB) Collecting numpy (from torchvision) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Collecting torchvision Using cached torchvision-0.25.0-cp310-cp310-win_amd64.whl.metadata (5.4 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.1%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Using cached torchvision-0.24.1-cp310-cp310-win_amd64.whl.metadata (5.9 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl.metadata (9.0 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch==2.9.0) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch==2.9.0) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl.metadata (2.8 kB) Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl (2860.3 MB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl (9.0 MB) Using cached fsspec-2026.2.0-py3-none-any.whl (202 kB) Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl (7.0 MB) Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) Using cached filelock-3.24.1-py3-none-any.whl (24 kB) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl (134 kB) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl (15 kB) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl (12.9 MB) Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision Successfully installed MarkupSafe-3.0.3 filelock-3.24.1 fsspec-2026.2.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 numpy-2.2.6 pillow-12.1.1 sympy-1.14.0 torch-2.9.0+cu128 torchvision-0.24.0+cu128 typing-extensions-4.15.0 Installing clip Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 51, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 39, in main prepare_environment() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 446, in prepare_environment run_pip(f"install {clip_package}", "clip") File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 147, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 119, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install clip. Command: "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' stderr: error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [17 lines of output] Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 3, in <module> ModuleNotFoundError: No module named 'pkg_resources' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel Press any key to continue . . . ### Console logs ```Shell Creating venv in directory C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv using python "C:\Users\Spxctrv\AppData\Local\Programs\Python\Python310\python.exe" Requirement already satisfied: pip in c:\users\spxctrv\desktop\stable-diffusion-webui-reforge\venv\lib\site-packages (22.2.1) Collecting pip Using cached pip-26.0.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.1 Uninstalling pip-22.2.1: Successfully uninstalled pip-22.2.1 Successfully installed pip-26.0.1 venv "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f1.0.0v2-v1.10.1RC-latest-2503-g78ed735f Commit hash: 78ed735f25808662f907dbf5a86a9c3cfd4be60a Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu128 Collecting torch==2.9.0 Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (29 kB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu128/torchvision-0.25.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (5.5 kB) Collecting filelock (from torch==2.9.0) Using cached filelock-3.24.1-py3-none-any.whl.metadata (2.0 kB) Collecting typing-extensions>=4.10.0 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB) Collecting sympy>=1.13.3 (from torch==2.9.0) Using cached sympy-1.14.0-py3-none-any.whl.metadata (12 kB) Collecting networkx>=2.5.1 (from torch==2.9.0) Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB) Collecting jinja2 (from torch==2.9.0) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Collecting fsspec>=0.8.5 (from torch==2.9.0) Using cached fsspec-2026.2.0-py3-none-any.whl.metadata (10 kB) Collecting numpy (from torchvision) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Collecting torchvision Using cached torchvision-0.25.0-cp310-cp310-win_amd64.whl.metadata (5.4 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.1%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Using cached torchvision-0.24.1-cp310-cp310-win_amd64.whl.metadata (5.9 kB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (6.1 kB) Collecting pillow!=8.3.*,>=5.3.0 (from torchvision) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl.metadata (9.0 kB) Collecting mpmath<1.4,>=1.1.0 (from sympy>=1.13.3->torch==2.9.0) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch==2.9.0) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl.metadata (2.8 kB) Using cached https://download.pytorch.org/whl/cu128/torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl (2860.3 MB) Using cached https://download.pytorch.org/whl/cu128/torchvision-0.24.0%2Bcu128-cp310-cp310-win_amd64.whl (9.0 MB) Using cached fsspec-2026.2.0-py3-none-any.whl (202 kB) Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB) Using cached pillow-12.1.1-cp310-cp310-win_amd64.whl (7.0 MB) Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached https://download.pytorch.org/whl/typing_extensions-4.15.0-py3-none-any.whl (44 kB) Using cached filelock-3.24.1-py3-none-any.whl (24 kB) Using cached https://download.pytorch.org/whl/jinja2-3.1.6-py3-none-any.whl (134 kB) Using cached markupsafe-3.0.3-cp310-cp310-win_amd64.whl (15 kB) Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl (12.9 MB) Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision Successfully installed MarkupSafe-3.0.3 filelock-3.24.1 fsspec-2026.2.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 numpy-2.2.6 pillow-12.1.1 sympy-1.14.0 torch-2.9.0+cu128 torchvision-0.24.0+cu128 typing-extensions-4.15.0 Installing clip Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 51, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\launch.py", line 39, in main prepare_environment() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 446, in prepare_environment run_pip(f"install {clip_package}", "clip") File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 147, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\modules\launch_utils.py", line 119, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install clip. Command: "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' stderr: error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [17 lines of output] Traceback (most recent call last): File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module> main() File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "C:\Users\Spxctrv\Desktop\stable-diffusion-webui-reForge\venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Spxctrv\AppData\Local\Temp\pip-build-env-7gp3zsmb\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) File "<string>", line 3, in <module> ModuleNotFoundError: No module named 'pkg_resources' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel Press any key to continue . . . ``` ### Additional information _No response_
1 条评论