1. 安装git,pyenv环境唯一依赖于git sudo yum -y install git
  • 安装pyenv环境 $ curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash

更新: $ pyenv update $ vim .bashrc export PATH="~/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"