CondaEnvironmentError: cannot remove current environment. deactivate and run conda remove again code example Example: conda remove environment conda remove --name myenv --all