Getting requirements to build wheel: finished with status 'error'
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 "/home/odin/Documents/Forge-WebUI/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in main() File "/home/odin/Documents/Forge-WebUI/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) File "/home/odin/Documents/Forge-WebUI/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-o_16d9z1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-o_16d9z1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-o_16d9z1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-o_16d9z1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) File "", line 3, in 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
As far as i understand this, it most likely is the wrong python version but i tried it with three different version so far (3.12.xx, 3.10.20 and 3.10.6) and i constantly got the same exact error. I am on Linux Mint 22.3 - Cinnamon. Any ideas how to fix this? Any more information needed?
Source: lllyasviel/stable-diffusion-webui-forge