在 Ubuntu 16.04 LTS 上安装 Python 3.6.0

转自(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

原文地址:https://www.cnblogs.com/hizf/p/7509600.html