fix(install): use resolved python variable in setup_open_webui.sh

The install_open_webui function correctly resolved the python interpreter into the $py variable, but hardcoded 'python' in subsequent pip install commands. This caused 'command not found' or 'externally-managed-environment' errors on systems where 'python' is not implicitly aliased to 'python3'.
This commit is contained in:
flanny7 2026-05-17 02:41:29 +09:00 committed by Teknium
parent 1a4e64ba06
commit 5f72dd817e

View file

@ -163,8 +163,8 @@ install_open_webui() {
"$py" -m venv "$OPEN_WEBUI_VENV"
# shellcheck disable=SC1090
source "$OPEN_WEBUI_VENV/bin/activate"
python -m pip install --upgrade pip setuptools wheel
python -m pip install open-webui
"$py" -m pip install --upgrade pip setuptools wheel
"$py" -m pip install open-webui
}
write_launcher() {