delete python environment conda code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda deactivate
conda deactivate
Example 3: conda remove environment by path
# remove environments by path
conda remove -p </filepath/myenvironment> --all