Skip to content

[Bug]: GFPAN Error #17184

@TeraTyrantShadic

Description

@TeraTyrantShadic

Checklist

  • The issue exists after disabling all extensions
  • 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?

Getting an error even though I installed it correctly.

Steps to reproduce the problem

  1. Install sd.webui.zip
  2. Update
  3. Run

What should have happened?

it should work after those steps.

What browsers do you use to access the UI ?

Mozilla Firefox

Sysinfo

I can't launch webui

Console logs

I just installed this on a new PC but I am not sure what the error is and I am stuck trying to fix it.

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 48a15821de768fea76e66f26df83df3fddf18f4b
Installing gfpgan
Traceback (most recent call last):
  File "C:\Users\HOME\Desktop\sd.webui\webui\launch.py", line 324, in <module>
    prepare_environment()
  File "C:\Users\HOME\Desktop\sd.webui\webui\launch.py", line 239, in prepare_environment
    run_pip(f"install {gfpgan_package}", "gfpgan")
  File "C:\Users\HOME\Desktop\sd.webui\webui\launch.py", line 106, in run_pip
    return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
  File "C:\Users\HOME\Desktop\sd.webui\webui\launch.py", line 74, in run
    raise RuntimeError(message)
RuntimeError: Couldn't install gfpgan.
Command: "C:\Users\HOME\Desktop\sd.webui\system\python\python.exe" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
  Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to c:\users\home\appdata\local\temp\pip-req-build-kf84lt_s

stderr:   Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\HOME\AppData\Local\Temp\pip-req-build-kf84lt_s'
  remote: Internal Server Error
  fatal: unable to access 'https://github.com/TencentARC/GFPGAN.git/': The requested URL returned error: 500
  error: subprocess-exited-with-error

  git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\HOME\AppData\Local\Temp\pip-req-build-kf84lt_s' did not run successfully.
  exit code: 128

  No available output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379' when git clone --filter=blob:none --quiet https://github.com/tencentarc/gfpgan.git 'c:\users\home\appdata\local\temp\pip-req-build-kf84lt_s'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions