这种情况要先 yum install openssl-devel在编译安装 python3.6
yum -y install gcc automake autoconf libtool make zlib* gcc-c++ zlib-devel bzip2-devel openssl-devel
./configure --prefix=/usr/local/python3 && make && make install
ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3 && ln -s /usr/local/python3/bin/python3 /usr/bin/python3