condaminiconda

Why do I get multiple environments listed in my terminal line?


I am trying to activate my conda environment. I downloaded conda and then run

conda init
conda env create -n my_environment -f environment.yml
conda activate my_environment

and then I get

(my_environment) (.conda) (base) bash-5.1$ 

in my terminal. Why are three different environments being run or this expected behavior?

I tried deleting conda and redownloading it, removing all instances of my env and creating it again.


Solution

  • Conda environments are designed to be layered, when you activate an environment you're adding a new layer on top of the base environment. There are not three environments running simultaneously.

    What you see is