mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-30 06:41:51 +00:00
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:
parent
1a4e64ba06
commit
5f72dd817e
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue