conda: remove all installed packages from base/root environment
TL:DR: How can I remove all installed packages from base ? I installed a bunch of machine learning packages in my base conda environment. I've now created a ml environment for machine learning, and wish to reset my base environment by removing all the packages installed there. I've tried: % activate base % conda uninstall -n base --all CondaEnvironmentError: cannot remove current environment. deactivate and run conda remove again Apparently, I can't remove packages from the current environment(?!), so lets switch to my ml environment first: % source activate ml % conda uninstall -n base --all