centos install python3
https://www.cnblogs.com/s-seven/p/9105973.html
如果make 失败:
After coming to "./configure --prefix=/home//.localpython" command I get the following output:
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux3
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home3/mikos89/Python-2.7.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
解决:
yum groupinstall "Development Tools"
yum install gcc
之后再执行./configure --prefix=/usr/local/python3Dir