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

failed at installing gfpgan first installation

Open semvak12 opened this issue 3 years ago • 1 comments

venv "F:\ai2\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] Commit hash: acedbe67d2b8a3af99ca3b9a2f809e7a2db285d1 Installing gfpgan Traceback (most recent call last): File "launch.py", line 170, in prepare_enviroment() File "launch.py", line 126, in prepare_enviroment run_pip(f"install {gfpgan_package}", "gfpgan") File "launch.py", line 62, 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 "launch.py", line 33, in run raise RuntimeError(message) RuntimeError: Couldn't install gfpgan. Command: "F:\ai2\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary Error code: 2 stdout: stderr: Usage: F:\ai2\stable-diffusion-webui\venv\Scripts\python.exe -m pip install [options] [package-index-options] ... F:\ai2\stable-diffusion-webui\venv\Scripts\python.exe -m pip install [options] -r [package-index-options] ... F:\ai2\stable-diffusion-webui\venv\Scripts\python.exe -m pip install [options] [-e] ... F:\ai2\stable-diffusion-webui\venv\Scripts\python.exe -m pip install [options] [-e] ... F:\ai2\stable-diffusion-webui\venv\Scripts\python.exe -m pip install [options] <archive url/path> ...

no such option: --prefer-binary

Press any key to continue . . .

semvak12 avatar Oct 15 '22 12:10 semvak12

Try updating pip.

Cyberes avatar Oct 15 '22 17:10 Cyberes

update pyton and reinstall does the trick thank you !

semvak12 avatar Oct 16 '22 02:10 semvak12

Try updating pip.

how do you guys do this? can you tell it to a noobie please

WinterCanada avatar Oct 19 '22 11:10 WinterCanada

update pyton and reinstall does the trick thank you !

how do you update python? im a noobie

WinterCanada avatar Oct 19 '22 11:10 WinterCanada

update pyton and reinstall does the trick thank you !

how do you update python? im a noobie

im noob too, i just unistall python and install the new version, but i sure there are more easier way

semvak12 avatar Oct 19 '22 16:10 semvak12