安装python3

yum install gcc gcc-c++
yum install make
yum -y install zlib*
yum install libffi-devel
yum install openssl-devel
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
tar xf Python-3.7.4.tgz
cd Python-3.7.4
./configure --with-ssl --prefix=/usr/local/python3
make -j8 && make  install
posted @ 2020-01-08 19:23  头文件1991  阅读(350)  评论(0编辑  收藏  举报