1,ubuntu16.04安装python3.6
ubuntu16.04 Python版本最高到3.5,添加高位python需要设置源
# 第一步安装add-apt-repository,添加ppa源
apt-get update
apt-get install python-software-properties
apt-get install apt-file
apt-get install software-properties-common
安装Python3.6
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt update
sudo apt install python3.6
按此,在更新的时候
W: The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage