0

I am running a new installed Ubuntu 19.04 Disco Dingo on a dual boot with windows 10. I installed Anaconda for Ubuntu using this guide https://docs.anaconda.com/anaconda/install/linux/

Finishing the installation the next time I open the terminal, it appears to be like

(base) username@ubuntu:~$

which means I am in the main environment of Conda. But, when installation of Anaconda finishes, it says:

if you want conda not to activate automatically when startup, run:
    conda config --set auto_activate_base false

But when I do it, and when I am out of the (base), the next time that I open the terminal and try to normally open Anaconda Navigator by anaconda-navigator it says that anaconda-navigator: command not found.

But on it was not like this before. Can someone describe me how can I remove this (base) and also be able to run anaconda commands like opening jupyter notebook directly from normal terminal.

I appreciate your answers.

0

So no one answered and I needed to solve it so went through the websites and found the solution which I share for the future users' problem.

The thing to do is to modify two things in .condarc file, which usually is situated saved in home directory.

First to set the automatic activation of the base to true, to have the environment activated in the terminal:

conda config --set auto_activate_base False

and then to set the changeps1 variable to True, which disappears (base).

Just add:

auto_activate_base: true
changeps1: false

to the end of your .condarc file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.