sudo gedit ~/.bashrc 在末尾添加并保存: export PATH=/home/huwenxin/anaconda3/bin:$PATH 最后需要更新.bashrc: source ~/.bashrc