1.安装编译环境 在命令行中输入以下命令,安装编译环境,免得在Python编译的时候出错 yum install -y openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel zlib-devel ncurses-devel tk-devel libffi-devel gcc make 2.下载Python的程序包(Ps:文章末尾提供下载地址) 3.解压Python的程序包 tar -zxvf Python-3.6.6…