Skip to content

Stable Diffusion WebUI installation failing #1546

@Garin2-colab

Description

@Garin2-colab

Package

Stable Diffusion WebUI

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

RTX 3090

What happened?

Recently I got a new computer and fresh installing everything. When I try to install 'Stable Diffusion WebUI' package I got this error. I tried Stable Diffusion WebUI Forge - Classic and Neo, all gave me the same error.

Using Python 3.10.18 environment at: venv
Resolved 3 packages in 35ms
Prepared 2 packages in 0.44ms
Installed 2 packages in 16ms

  • packaging==26.0
  • wheel==0.46.3
    Using Python 3.10.18 environment at: venv
    error: The build backend returned an error
    Caused by: Call to setuptools.build_meta:__legacy__.build_wheel failed (exit code: 1)

[stderr]
Traceback (most recent call last):
File "", line 14, in
File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 3, in
ModuleNotFoundError: No module named 'pkg_resources'

hint: This usually indicates a problem with the package or the build environment.
Could not install stable-diffusion-webui (StabilityMatrix.Core.Exceptions.ProcessException: pip install failed with code 2: 'Using Python 3.10.18 environment at: venv\nerror: The build backend returned an error\n Caused by: Call to setuptools.build_meta:__legacy__.build_wheel failed (exit code: 1)\n\n[stderr]\nTraceback (most recent call last):\n File "", line 14, in \n File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel\n return self._get_build_requires(config_settings, requirements=[])\n File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires\n self.run_setup()\n File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 520, in run_setup\n super().run_setup(setup_script=setup_script)\n File "F:\Data\Assets\uv\cache\builds-v0.tmphf4RFC\lib\site-packages\setuptools\build_meta.py", line 317, in run_setup\n exec(code, locals())\n File "", line 3, in \nModuleNotFoundError: No module named 'pkg_resources'\n\nhint: This usually indicates a problem with the package or the build environment.\n'
at StabilityMatrix.Core.Python.UvVenvRunner.PipInstall(ProcessArgs args, Action1 outputDataReceived) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.StandardPipInstallProcessAsync(IPyVenvRunner venvRunner, InstallPackageOptions options, InstalledPackage installedPackage, PipInstallConfig config, Action1 onConsoleOutput, IProgress1 progress, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.A3WebUI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.Packages.A3WebUI.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))

Console output

No response

Version

v2.15.5

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions