### pyenvsudoapt-getupdatesudoapt-getinstallcurlbash-ycurlhttps://pyenv.run|bashvim.zshrc## vim .zshrc# Load pyenv automatically by appending# the following to # ~/.bash_profile if it exists, otherwise ~/.profile (for login shells)# and ~/.bashrc (for interactive shells) :export PYENV_ROOT="$HOME/.pyenv"[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"eval"$(pyenv init -)"# Restart your shell for the changes to take effect.# Load pyenv-virtualenv automatically by adding# the following to ~/.bashrc:eval"$(pyenv virtualenv-init -)"## :wqexit### Python 2sudoapt-getinstallgccg++makelibreadline-devzlib1g-devlibbz2-devlibsqlite3-devlibssl-devpyenvinstall2pyenvglobal2