Last active
March 3, 2024 17:22
-
-
Save YuriFontella/69075071235290f3d50d17ce50b4b4d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install libedit-dev libssl-dev libffi-dev lzma bzip2 sqlite3 zlib1g-dev build-essential | |
curl https://pyenv.run | bash | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(pyenv init -)"' >> ~/.bashrc | |
pyenv install 3.12.2 | |
# projeto | |
pyenv local 3.12.2 | |
# | |
pyenv global 3.12.2 | |
# versão instalada do sistema | |
pyenv global system | |
pyenv uninstall 3.12.2 | |
# TIP | |
echo '3.12.2' > ~/.python-version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment