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.
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.
Share Improve this question asked yesterday Hayley ChangHayley Chang 31 bronze badge New contributor Hayley Chang is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.1 Answer
Reset to default 0Conda 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
- (base) - this is the base environment of conda, it's the environment in which conda itself operates
- (.conda) - this just indicates that you are within the conda's internal environment
- (my_environment) - this indicates that
my_environment
is the currently activated environment, which confirms your environment is active