terminator 是Python脚本写的,annaconda 安装后修改了默认的Python解释器路径,再改回到系统自带的Python解释器就可以了。
//打开terminator脚本,第一行#!/usr/bin/python 指向Python 默认路径(被conda改了)sudo gedit /usr/bin/terminator

修改为/usr/bin/python2.7 Ubuntu 18自带的Python。
可以通过whereis python 或者 ls -l /usr/bin/python* 查看系统内的Python版本

当conda安装后修改了Python解释器的默认路径,可以按照以下步骤将其改回系统自带的Python2.7。首先,使用gedit编辑器打开terminator脚本,将第一行的#!/usr/bin/python改为#!/usr/bin/python2.7。然后,通过whereis python或ls -l /usr/bin/python*来检查系统中可用的Python版本。
1万+

被折叠的 条评论
为什么被折叠?



