mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-24 04:05:03 +00:00
SnapOtter: recreate the AI venv with --clear
The venv lives in the data directory and is recreated on every update; uv now refuses a non-empty path.
This commit is contained in:
1 parent
500a860faf
commit
a8ac0ee84f
1 file changed
+1
-1
+1
-1
@@ -86,7 +86,7 @@ EOF
|
||||
|
||||
msg_info "Updating SnapOtter"
|
||||
$STD uv python install 3.11
|
||||
$STD uv venv --seed --python 3.11 /opt/snapotter_data/ai/venv
|
||||
$STD uv venv --clear --seed --python 3.11 /opt/snapotter_data/ai/venv
|
||||
if [[ "$(arch_resolve)" == "arm64" ]]; then
|
||||
$STD uv pip install --python /opt/snapotter_data/ai/venv/bin/python \
|
||||
numpy==1.26.4 Pillow==12.3.0 opencv-python-headless==4.10.0.84 fonttools \
|
||||
|
||||
Reference in new issue
Block a user