转自(http://blog.csdn.net/Wangdada111/article/details/73382537?locationNum=2&fps=1)
安装:
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
xz -d Python-3.6.0.tar.xz
tar -xvf Python-3.6.0.tar
cd Python-3.6.0
./configure
make
sudo make install
测试:
$python3.6 --version
Python3.6.0