deactivate a conda environment code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda list environments
conda info --envs
Example 3: switch environment conda
conda activate environment_name
conda remove --name myenv --all
conda info --envs
conda activate environment_name