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:
@ -163,8 +163,8 @@ install_open_webui() {
|
|||||||
"$py" -m venv "$OPEN_WEBUI_VENV"
|
"$py" -m venv "$OPEN_WEBUI_VENV"
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source "$OPEN_WEBUI_VENV/bin/activate"
|
source "$OPEN_WEBUI_VENV/bin/activate"
|
||||||
python -m pip install --upgrade pip setuptools wheel
|
"$py" -m pip install --upgrade pip setuptools wheel
|
||||||
python -m pip install open-webui
|
"$py" -m pip install open-webui
|
||||||
}
|
}
|
||||||
|
|
||||||
write_launcher() {
|
write_launcher() {
|
||||||
|
|||||||
Reference in New Issue
Block a user