AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.23k stars 26.42k forks source link

[Bug]: Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead : #7675

Open kangchongtokki opened 1 year ago

kangchongtokki commented 1 year ago

Is there an existing issue for this?

What happened?

An error occurred at the last step while running the program.

WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead : ☁ https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Cancel venv "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Commit hash: ea9bd9fc7409109adcd61b897abc2c8881161256 Installing torch and torchvision C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe: No module named pip Traceback (most recent call last): File "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 360, in prepare_environment() File "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 269, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 89, in run raise RuntimeError(f"""{errdesc or 'Error running command'}. RuntimeError: Couldn't install torch. Command: "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117 Error code: 1 계속하려면 아무 키나 누르십시오 . . .

Steps to reproduce the problem

just launch

What should have happened?

I think webui's program should appear.

Commit where the problem happens

i don't know

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

no

List of extensions

no

Console logs

WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 !   Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :
 ☁   https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cancel
venv "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: ea9bd9fc7409109adcd61b897abc2c8881161256
Installing torch and torchvision
C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe: No module named pip
Traceback (most recent call last):
  File "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 360, in <module>
    prepare_environment()
  File "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 269, in prepare_environment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
  File "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 89, in run
    raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "C:\Users\User\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Error code: 1

Additional information

No response

twiceway commented 1 year ago

me too

DACHINGCHONG commented 1 year ago

same

twiceway commented 1 year ago

Automatic Installation on Windows Install Python 3.10.6, checking "Add Python to PATH" Install git. Download the stable-diffusion-webui repository, for example by running .git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git Run from Windows Explorer as normal, non-administrator, user.webui-user.bat

DuckyHond commented 1 year ago

same

1123123w commented 1 year ago

same

aylamuos commented 1 year ago

venv "C:\Users\aylam\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Commit hash: 5ab7f213bec2f816f9c5644becb32eb72c8ffb89 Traceback (most recent call last): File "C:\Users\aylam\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 352, in prepare_environment() File "C:\Users\aylam\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 257, in prepare_environment run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'") File "C:\Users\aylam\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 120, in run_python return run(f'"{python}" -c "{code}"', desc, errdesc) File "C:\Users\aylam\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\launch.py", line 96, in run raise RuntimeError(message) RuntimeError: Error running command. Command: "C:\Users\aylam\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\python.exe" -c "import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'" Error code: 1 stdout: stderr: Traceback (most recent call last): File "", line 1, in AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

Press any key to continue . . .