Linux中安装的python应用很多如果没有必要的编译库会安装出错,所以最好先安装
yum install zlib-devel bzip2-devel pcre-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel python3-devel gcc gcc-c++