終於可以輸出一點經驗了。。
總結了其他人的經驗,經過自己嘗試成功了
分享給大家做參考
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
完成