0

I am using Ubuntu 16.04, I am facing the problem with conda command (conda: command not found). when I export path of Anaconda3/bin to $PATH conda command is working. if I open another Terminal and try to use the conda command it's not working (conda: command not found). after the export path each time then only it's working. can anyone help me to fix this error?

  • Store the export line into your .profile or .bashrc or whatever rc file your shell uses. Restart of the terminal might be needed for the change to take effect. – choroba Jun 16 '19 at 13:30

1 Answers1

0

When you want to change your path, be sure to include the existing part as well. To do that, add $PATH in the new path definition.

   export PATH="$PATH:/usr/bin"

Make sure that your /etc/environment is only re-read at reboot.

I think adding the $PATH in your ~/.bashrc can solve your problem.