当conda版本大于4.4的时候,不再支持将路径添加到.bashrc文件中。 解决办法: echo ". [anaconda路径]/etc/profile.d/conda.sh" >> ~/.bashrc