linux安装anaconda3 conda: command not found

在使用Anaconda3时出现:

conda:未找到命令

最后发现每次开机后都要运行一个命令才行:export PATH=~/anaconda3/bin:$PATH

如果要永久保存路径:

1、在终端输入$sudo gedit /etc/profile,打开profile文件。

2、在文件末尾添加一行:export PATH=~/anaconda3/bin:$PATH,其中,将“~/anaconda3/bin”替换为你实际的安装路径。保存。

原文地址:https://www.cnblogs.com/roscangjie/p/10690203.html