stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: cannot start, running webui-user.bat does nothing
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
- i clone the project
- i run webui-user.bat
- a cmd terminal opens, and closes immediately
- nothing happens
Steps to reproduce the problem
- i clone the project
- i run webui-user.bat
- a cmd terminal opens, and closes immediately
- nothing happens
What should have happened?
the app should have downloaded any requirements and started up
Sysinfo
i cant start WebUI, so i trued adding the argument nothing is generated anywhere
i tried this .\webui-user.bat --dump-sysinfo
as well as this in the file
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=dump-sysinfo
call webui.bat
What browsers do you use to access the UI ?
Brave
Console logs
n/a
Additional information
python --version Python 3.10.5
win10 pro
im gonna try out this https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs#windows-method-1
cmd terminal opens, and closes immediately
I wrote a guide to allow you to see the issue, see wiki https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting#run-webui-userbat-but-the-window-immediately-closes
I also had this issue, but resolved it by manually setting PYTHON
path in webui-user.bat
file.
I also had this issue, but resolved it by manually setting
PYTHON
path inwebui-user.bat
file.
if that's the case then it's most likely is caused by you did not check Add to PATH
option when instaling python
I also had this issue, but resolved it by manually setting
PYTHON
path inwebui-user.bat
file.if that's the case then it's most likely is caused by you did not check
Add to PATH
option when instaling python
BTW I used pyenv
as my python version manager, not sure if that's relevant in the context
You might also try using Stability Matrix which allows you to install A1111, as well as other packages with a single click.
https://github.ink/LykosAI/StabilityMatrix
you might wanna list your hardwares. BTW, it works good for me on intel+nvidia with windows 11 pro
I also had this issue, but resolved it by manually setting
PYTHON
path inwebui-user.bat
file.if that's the case then it's most likely is caused by you did not check
Add to PATH
option when instaling python
:o That could be it.
I used pyenv-wincro install python.
And running puthon
in any terminal works. But I'm guessing there's some odd issue anyway
I also had this issue, but resolved it by manually setting
PYTHON
path inwebui-user.bat
file.if that's the case then it's most likely is caused by you did not check
Add to PATH
option when instaling pythonBTW I used
pyenv
as my python version manager, not sure if that's relevant in the context
That might be a factor. Cos I use pyenv as well
im gonna try out this https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs#windows-method-1
I was able to get it work by using this
If you are using pyenv then you can find the python path using the command pyenv which python
. The results should look like this:
...>pyenv which python
C:\Users\me\...\versions\3.10.6\python.exe
Then update the webui-user.bat like so
set PYTHON="<whatever was printed by pyenv which command>"
I had the same issue and solved it. Thanks for the tips!
First I opened cmd and ran "start webui-user.bat", it said that it cannot find python.
Then I added the path manually to the bat file: PYTHON=C:\Users\Administrator\AppData\Local\Programs\Python\Python310\python.exe
Then I ran it in cmd again, but still the same issue.
Then I ran cmd as administrator, typed in "start webui-user.bat", and it worked! You know it works when it takes a long time before the installation is complete.