pyenv + Python 2 설치

### pyenv
sudo apt-get update
sudo apt-get install curl bash -y
curl https://pyenv.run | bash
vim .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 -)"
## :wq
exit

### Python 2
sudo apt-get install gcc g++ make libreadline-dev zlib1g-dev libbz2-dev libsqlite3-dev libssl-dev
pyenv install 2
pyenv global 2