终于可以输出一点经验了。。
总结了其他人的经验,经过自己尝试成功了
分享给大家做参考
os: centos 7
#安装gcc,否则在./configure时会error
yum install gcc
#安装openssl-devel,否则会忽略pip安装失败,但是没有error
yum install openssl-devel
#安装python3
wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz
xz -d Python-3.5.3.tar.xz
tar -xvf Python-3.5.3.tar
cd Python-3.5.3
./configure
make
make install
完成