Is there an existing issue for this?
What happened?
Tried to open webui-user.bat and the cmd window poped-up for a moment and closed.
In webui.bat file I added replaced @echo off torem @echo off to see what could be the problem.
The result of opening the webui.bat is stated in console log section.
Steps to reproduce the problem
- Cloned the master branch
- Pasted my model to the models/Stable-diffusion
- Installed python 3,10
- Executed the webui-user.bat file [failed to open]
- Editted first line of webui.bat and rewrote it as:
rem @echo off
What should have happened?
The webui-user.bat file should have stayed open
Commit where the problem happens
22bcc7b
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Brave
Command Line Arguments
List of extensions
No
Console logs
C:\Windows\System32>rem @echo off
C:\Windows\System32>if not defined PYTHON (set PYTHON=python )
C:\Windows\System32>if not defined VENV_DIR (set "VENV_DIR=C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv" )
C:\Windows\System32>set ERROR_REPORTING=FALSE
C:\Windows\System32>mkdir tmp 2>NUL
C:\Windows\System32>python -c "" 1>tmp/stdout.txt 2>tmp/stderr.txt
C:\Windows\System32>if 0 == 0 goto :check_pip
C:\Windows\System32>python -mpip --help 1>tmp/stdout.txt 2>tmp/stderr.txt
C:\Windows\System32>if 0 == 0 goto :start_venv
C:\Windows\System32>if ["C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv"] == ["-"] goto :skip_venv
C:\Windows\System32>if [""] == ["1"] goto :skip_venv
C:\Windows\System32>dir "C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe" 1>tmp/stdout.txt 2>tmp/stderr.txt
C:\Windows\System32>if 1 == 0 goto :activate_venv
C:\Windows\System32>for /F "delims=" %i in ('CALL python -c "import sys; print(sys.executable)"') do set PYTHON_FULLNAME="%i"
C:\Windows\System32>set PYTHON_FULLNAME="C:\Users\lvasi\AppData\Local\Programs\Python\Python310\python.exe"
C:\Windows\System32>echo Creating venv in directory C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv using python "C:\Users\lvasi\AppData\Local\Programs\Python\Python310\python.exe"
Creating venv in directory C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv using python "C:\Users\lvasi\AppData\Local\Programs\Python\Python310\python.exe"
C:\Windows\System32>"C:\Users\lvasi\AppData\Local\Programs\Python\Python310\python.exe" -m venv "C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv" 1>tmp/stdout.txt 2>tmp/stderr.txt
C:\Windows\System32>if 0 == 0 goto :activate_venv
C:\Windows\System32>set PYTHON="C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
C:\Windows\System32>echo venv "C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
venv "C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
C:\Windows\System32>if [] == ["True"] goto :accelerate
C:\Windows\System32>goto :launch
C:\Windows\System32>"C:\Program Files\Stable_Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe" launch.py
C:\Users\lvasi\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Windows\\System32\\launch.py': [Errno 2] No such file or directory
C:\Windows\System32>pause
Press any key to continue . . .
Additional information
No response
Is there an existing issue for this?
What happened?
Tried to open webui-user.bat and the cmd window poped-up for a moment and closed.
In webui.bat file I added replaced
@echo offtorem @echo offto see what could be the problem.The result of opening the webui.bat is stated in console log section.
Steps to reproduce the problem
rem @echo offWhat should have happened?
The webui-user.bat file should have stayed open
Commit where the problem happens
22bcc7b
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Brave
Command Line Arguments
List of extensions
No
Console logs
Additional information
No response