Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mamba screwed up my conda environments, how to uninstall mamba?

Tags:

conda

After installing mamba, my conda environments are messed up like this:

# conda environments:
#
base                     /Users/USERNAME/mambaforge
                         /Users/USERNAME/opt/anaconda3
                      *  /Users/jlee/opt/anaconda3/envs/NLP

I don't like this. How do I uninstall mamba to fix this? Thank you!

like image 824
questionmark Avatar asked Oct 30 '25 04:10

questionmark


1 Answers

I had the same issue! Mamba rerouted your base environment to /Users/USERNAME/mambaforge instead of the usual location -- /Users/USERNAME/opt/anaconda3

In order to fix the problem, you have to edit your shell initialization file (bashrc, bash_profile, or etc). Add this line to it to export the original filepath of your anaconda3 environment to your PATH. \

export PATH="/Users/USERNAME/opt/anaconda3/bin:$PATH"
like image 171
bioinfowizard Avatar answered Nov 01 '25 13:11

bioinfowizard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!