话不多说,上教程: 1、打开.bashrc $ sudo vim ~/.bashrc 2、添加命令(在最后一行加入) alias use_python2='export PATH="/usr/bin:$PATH"' 3、使用 在中断输入 use_python2 完工!