Remove Environment in Conda

11,962

Looks like "env4" is activated.. To deactivate use,

conda deactivate

After that, you can use this command to remove any environment. ENV_NAME=env4

conda env remove --name ENV_NAME

Or simply just go to the path

/home/miniconda3/envs/

and delete 'env4' from there.

Share:
11,962

Related videos on Youtube

anuja
Author by

anuja

Researcher NLP

Updated on May 28, 2022

Comments

  • anuja
    anuja over 1 year

    I somehow installed miniconda and miniconda3.
    Now conda env list looks like

    base           /home/miniconda
    env1           /home/miniconda/envs/env1
    env2           /home/miniconda/envs/env2
                   /home/miniconda3
                   /home/miniconda3/envs/env3
                *  /home/miniconda3/envs/env4
    

    How can I manage conda environments now?

    How to remove env4 conda environment

    • AMC
      AMC over 3 years
      Which part of this question is not covered by the (easily accessible) official documentation? Please see How to Ask, help center.