delete python environment anaconda code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: remove a conda environment
conda env remove --name <name> --all
conda remove --name myenv --all
conda env remove --name <name> --all