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