Solution to issue cannot be found in the documentation.
[X] I checked the documentation.
Issue
I have been using Anaconda and just installed miniforge3 as well.
After miniforge3 installation, removing an environment with conda remove <env> --all consistently failed with CondaEnvironmentError: cannot remove current environment., even though no environment was activated at all.
It happened to both miniforge3 (with miniforge3 created environments) and the old Anaconda (with Anaconda created environments).
A workaround is to use conda remove --prefix instead:
Solution to issue cannot be found in the documentation.
Issue
I have been using Anaconda and just installed miniforge3 as well.
After miniforge3 installation, removing an environment with
conda remove <env> --all
consistently failed withCondaEnvironmentError: cannot remove current environment.
, even though no environment was activated at all.It happened to both miniforge3 (with miniforge3 created environments) and the old Anaconda (with Anaconda created environments).
A workaround is to use
conda remove --prefix
instead:Installed packages
Environment info