Skip to content

Commit

Permalink
Merge pull request #1269 from okineadev/fix-installer
Browse files Browse the repository at this point in the history
Fixed linux installer
  • Loading branch information
KillianLucas committed May 15, 2024
2 parents e186a4e + f0f09fc commit 8902eb3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions installers/oi-linux-installer.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ curl https://pyenv.run | bash
# Define pyenv location
pyenv_root="$HOME/.pyenv/bin/pyenv"

python_version="3.11.7"

# Install specific Python version using pyenv
$pyenv_root init
$pyenv_root install 3.11.7 --skip-existing
$pyenv_root shell 3.11.7

pip install open-interpreter
$pyenv_root install $python_version --skip-existing
$pyenv_root shell $python_version

$pyenv_root exec pip install open-interpreter --break-system-packages
# Unset the Python version
$pyenv_root shell --unset

Expand Down

0 comments on commit 8902eb3

Please sign in to comment.