diffusiongemma-agent-iq3-cuda13 / payload /app /scripts /install_open_interpreter_local.sh
aogavrilov's picture
Add files using upload-large-folder tool
dc7b96e verified
Raw
History Blame Contribute Delete
456 Bytes
#!/usr/bin/env bash
set -euo pipefail
DG_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
UV="$DG_ROOT/.tools/uv/bin/uv"
VENV="$DG_ROOT/.venv-open-interpreter"
if [[ ! -x "$UV" ]]; then
"$DG_ROOT/scripts/install_uv_local.sh"
fi
"$UV" venv "$VENV"
"$UV" pip install --python "$VENV/bin/python" open-interpreter
"$VENV/bin/python" - <<'PY'
from interpreter import interpreter
print("open-interpreter ready")
print(type(interpreter).__name__)
PY