deactivating conda environment code example Example 1: anaconda remove environment conda env remove -n ENV_NAME Example 2: conda deactivate conda deactivate