Skip to content

Commit f0f09fc

Browse files
committed
Fixed installer
1 parent e186a4e commit f0f09fc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

installers/oi-linux-installer.sh

100644100755
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ curl https://pyenv.run | bash
2020
# Define pyenv location
2121
pyenv_root="$HOME/.pyenv/bin/pyenv"
2222

23+
python_version="3.11.7"
24+
2325
# Install specific Python version using pyenv
2426
$pyenv_root init
25-
$pyenv_root install 3.11.7 --skip-existing
26-
$pyenv_root shell 3.11.7
27-
28-
pip install open-interpreter
27+
$pyenv_root install $python_version --skip-existing
28+
$pyenv_root shell $python_version
2929

30+
$pyenv_root exec pip install open-interpreter --break-system-packages
3031
# Unset the Python version
3132
$pyenv_root shell --unset
3233

0 commit comments

Comments
 (0)