I tried to uninstall conda enviroment base by typing below,
conda env remove -n base
As suggested i tried to deactivate base by using
conda deactivate base
Again I tried to remove that enviroment but again throws same error
CondaEnviromentError: cannot remove current enviroment. deactivate and run conda remove again
It doesn't appear there is a way to remove the base environment. However, you can roll back revisions within in conda. You can list the revisions of your base environment by using conda list --revisions. From there you can roll back to previous revision of the environment by using conda install --revision <REVNUM>.
If you want to reset the environment to as close as you can get from the initial install run conda install --revision 0.
Try conda deactivate
conda remove -n env_name --all
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With