From c351f17c86545a7bd5bcdf110af2b39a082b0321 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sat, 24 Oct 2026 17:52:46 +0200 Subject: [PATCH] SnapOtter: recreate the AI venv with --clear (#18119) The venv lives in the data directory and is recreated on every update; uv now refuses a non-empty path. --- ct/snapotter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/snapotter.sh b/ct/snapotter.sh index c4afb93ab..00149327c 100644 --- a/ct/snapotter.sh +++ b/ct/snapotter.sh @@ -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 \