Removing Conda environment

To remove a conda environment, you can use the following command:

conda remove --name myenv --all

This will remove the environment named "myenv" and all packages installed in it.

Watch a course Python - The Practical Guide

Note that this will only work if you are in the environment that you want to remove. If you are not in the environment, you can use the following command :

conda env remove --name myenv

Both command will remove the environment and all packages installed in it.