https://www.cnblogs.com/jmaly/p/7850860.html
python 配置3.7.3
1 安装依赖
yum install libffi-devel -y
yum install -y gcc make patch gdbm-devel openssl-devel sqlite-devel readline-devel zlib-devel bzip2-devel
2 安装pyenv
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer|bash
3 显示可以安装的python
pyenv install -l
4 安装 3.7.3
pyenv install 3.7.3 -v
5 全局设置python版本为3.7.3\
pyenv global 3.7.3
6.查看已经安装的python
pyenv versions
python 相关的包
yum install cyrus-sasl-plain cyrus-sasl-devel cyrus-sasl-gssapi