This commit is contained in:
Tyrel Souza 2023-11-16 00:25:12 -05:00
parent 4fbc98324d
commit 64008ae9ba
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
1 changed files with 2 additions and 6 deletions

View File

@ -3,6 +3,8 @@
HOME=/home/coder
sudo apt update
sudo apt install bzip2 libncurses5-dev libffi-dev libreadline-dev libssl-dev
sudo curl https://pyenv.run | bash
@ -17,9 +19,3 @@ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> /home/coder/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> /home/coder/.bashrc
echo 'eval "$(pyenv init -)"' >> /home/coder/.bashrc
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 3.10
pyenv global 3.10