stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: calling `%PYTHON%` in webui.bat stops the execution of the rest of the script.
Checklist
- [X] The issue exists after disabling all extensions
- [X] 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
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
The first line where %PYTHON%
is called stops the execution of the rest of the script.
This happens with any usage of %PYTHON%
.
You can test this by putting echo
before and after the %PYTHON%
call
You can test this further by running PYTHON --version
and doing the same test
Steps to reproduce the problem
- Install Python 3.10.6 via pyenv-win.
- Get the latest version of webui, latest is commit feee37d on master branch.
- Set version 3.10.6 as the local version (
pyenv local 3.10.6
). - Try to launch webui
- (optional) run the tests I did above.
What should have happened?
WebUI should have launched as expected.
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
not available
Console logs
none
Additional information
Python 3.10.6 is installed via pyenv-win.