Open RalkeyOfficial opened 1 month ago
Had this experience too. I solved it by installing 3.10.6 through pyenv, creating a venv folder in the base of stable-diffusion-webui, activating it, then running webui.bat. There's definitely a cleaner way to do this.
Using Windows 11 Pro, pyenv==3.1.1
E:\AI_Stuff\stable-diffusion-webui> pyenv install 3.10.6
...
E:\AI_Stuff\stable-diffusion-webui> pyenv local 3.10.6
E:\AI_Stuff\stable-diffusion-webui> python -m venv venv
E:\AI_Stuff\stable-diffusion-webui> venv\Scripts\activate.bat
(venv) E:\AI_Stuff\stable-diffusion-webui> webui.bat
venv "E:\AI_Stuff\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)]
Version: v1.9.4
Commit hash: feee37d75f1b168768014e4634dcb156ee649c05
...
Checklist
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%
callYou can test this further by running
PYTHON --version
and doing the same testSteps to reproduce the problem
pyenv local 3.10.6
).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
Additional information
Python 3.10.6 is installed via pyenv-win.