下载,解压,编译,安装:
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
tar -xvf Python-3.6.0.tgz
./configure --prefix=/usr/local/python3
make &&make install
链接
ln -s /usr/local/python3/bin/python3 /usr/bin/python3
配置pip3
PATH=$PATH:$HOME/bin:/usr/local/python3/bin