Ctrl +Alt +t 打开终端
输入:
sudo gedit ~/.bashrc
在这上面的最后一行写上
export PATH=~/anaconda3/bin:$PATH
点击上面的保存
关闭重启终端 成功