さくらVPS CentOS7にPython3を入れる # yum install gcc zlib-devel bzip2 bzip2-devel readline readline-devel sqlite sqlite-devel openssl openssl-devel git # git clone https://github.com/yyuu/pyenv.git ~/.pyenv # vim .bash_profile 下記を追記 # pyenv export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" # source .bash_profile # pyenv install --list # pyenv install 3.5.1 # pyenv