1、输入命令python
3、输入命令sudo add-apt-repository ppa:jonathonf/python-3.
5、调整Python3的优先级,使得3.6优先级较高
7、此时再输入命令python