ubuntu16.04卸载python3后无法进入图形界面

由于tx2使用的python版本至少是3.7以上,而ubuntu16.04默认安装的为3.5.

因此使用命令

sudo apt --remove python3

后,卸载完后无法进入图形界面。(进入后不能执行右键动作,界面上无可执行程序)。

解决办法:

重新安装python3

步骤:

1)按ctrl + alt + f1 进入rescure 界面

2)执行以下命令

  sudo apt-get update

sudo apt-get install --reinstall ubuntu-desktop

3)重启设备

完成。