stable-diffusion-webui-amdgpu-forge icon indicating copy to clipboard operation
stable-diffusion-webui-amdgpu-forge copied to clipboard

Error on launch Error on launch "Getting requirements to build wheel: finished with status 'error'"

Open OnePunchSloth opened this issue 7 months ago • 1 comments

`venv "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\venv\Scripts\Python.exe" WARNING: ZLUDA works best with SD.Next. Please consider migrating to SD.Next.

INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.13.2. If you encounter an error with "RuntimeError: Couldn't install torch." message, or any other error regarding unsuccessful package (library) installation, please downgrade (or upgrade) to the latest version of 3.10 Python and delete current Python and "venv" folder in WebUI's directory.

You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/

Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre

Use --skip-python-version-check to suppress this warning.

fatal: No names found, cannot describe anything. Python 3.13.2 (tags/v3.13.2:4f8bb39, Feb 4 2025, 15:23:48) [MSC v.1942 64 bit (AMD64)] Version: f2.0.1v1.10.1-1.10.1 Commit hash: e07be6a48fc0ae1840b78d5e55ee36ab78396b30 ROCm: agents=['gfx1201'] ROCm: version=6.2, using agent gfx1201 ZLUDA support: experimental ZLUDA load: path='G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge.zluda' nightly=False Installing open_clip Traceback (most recent call last): File "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\launch.py", line 54, in main() ~~~~^^ File "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\launch.py", line 42, in main prepare_environment() ~~~~~~~~~~~~~~~~~~~^^ File "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\modules\launch_utils.py", line 560, in prepare_environment run_pip(f"install {openclip_package}", "open_clip") ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\modules\launch_utils.py", line 154, 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 "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\modules\launch_utils.py", line 126, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install open_clip. Command: "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\venv\Scripts\python.exe" -m pip install https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip Using cached https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip (10.0 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 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: torch>=1.9.0 in g:\stable diffusion\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages (from open_clip_torch==2.7.0) (2.6.0+cu118) Requirement already satisfied: torchvision in g:\stable diffusion\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages (from open_clip_torch==2.7.0) (0.21.0+cu118) Requirement already satisfied: regex in g:\stable diffusion\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages (from open_clip_torch==2.7.0) (2024.11.6) Requirement already satisfied: ftfy in g:\stable diffusion\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages (from open_clip_torch==2.7.0) (6.3.1) Requirement already satisfied: tqdm in g:\stable diffusion\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages (from open_clip_torch==2.7.0) (4.67.1) Collecting huggingface_hub (from open_clip_torch==2.7.0) Using cached huggingface_hub-0.31.1-py3-none-any.whl.metadata (13 kB) Collecting sentencepiece (from open_clip_torch==2.7.0) Using cached sentencepiece-0.2.0.tar.gz (2.6 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

[48 lines of output] Traceback (most recent call last): File "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 389, in main() ~~~~^^ File "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\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 "G:\Stable Diffusion\stable-diffusion-webui-amdgpu-forge\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\willi\AppData\Local\Temp\pip-build-env-nsbjb3sj\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\willi\AppData\Local\Temp\pip-build-env-nsbjb3sj\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "C:\Users\willi\AppData\Local\Temp\pip-build-env-nsbjb3sj\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\willi\AppData\Local\Temp\pip-build-env-nsbjb3sj\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 128, in File "C:\Users\willi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 416, in check_call retcode = call(*popenargs, **kwargs) File "C:\Users\willi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 397, in call with Popen(*popenargs, **kwargs) as p: ~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\willi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1038, in init self._execute_child(args, executable, preexec_fn, close_fds, ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pass_fds, cwd, env, ^^^^^^^^^^^^^^^^^^^ ...<5 lines>... gid, gids, uid, umask, ^^^^^^^^^^^^^^^^^^^^^^ start_new_session, process_group) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\willi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1550, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ # no special security ^^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... cwd, ^^^^ startupinfo) ^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

Getting requirements to build wheel did not run successfully. exit code: 1

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Press any key to continue . . .`

I have ZLUDA installed and was using SD.Next but got mad at the inability to do regional prompting but after getting forge installed I can only get to this point

OnePunchSloth avatar May 09 '25 01:05 OnePunchSloth

You have the wrong Python Version. Uninstall Python 3.13 as it currently doesnt support any ai stuff. Then install Python 3.10.11 64bit Delete the venv folder and relaunch the webui-user.bat with --use-zluda --cuda-stream --attention-quad --skip-ort

CS1o avatar May 09 '25 18:05 CS1o