We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f41a14 commit 539fe98Copy full SHA for 539fe98
installers/new-installer.sh
@@ -22,9 +22,14 @@ fi
22
echo "Installing Python $PYTHON_VERSION..."
23
uv python install "$PYTHON_VERSION"
24
25
-# Direct installation using uv with specific Python version
+# Create virtual environment
26
+echo "Creating virtual environment..."
27
+mkdir -p "$HOME/.openinterpreter"
28
+uv venv --python "$PYTHON_VERSION" "$HOME/.openinterpreter/venv"
29
+
30
+# Install package into the venv
31
echo "Installing package..."
-uv pip install --system --python "$PYTHON_VERSION" "git+$REPO_URL@$BRANCH"
32
+uv pip install --python "$HOME/.openinterpreter/venv/bin/python" "git+$REPO_URL@$BRANCH"
33
34
echo
35
echo "Installation complete!"
0 commit comments