废话不多说,直接上步骤 wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2rc1.tgz 进入 https://www.python.org/ftp/python/,选择相应的python版本链接,直接Wget下载即可 解压Python-3.6.2rc1 tar xzf Python-3.6.2rc1.tgz 进入python目录进行编译 cd Python-3.6.2rc1 yum - y install gcc gcc-c++…