centos7从python2.7升级到python3.6
sudo yum groupinstall 'Development Tools'
sudo yum install centos-release-scl
sudo yum install rh-python36
python --version
Python 2.7.5
scl enable rh-python36 bash
python --version
Python 3.6.3
yum -y install python-pip