How to Uninstall Anaconda Completely from MACos

How to uninstall Anaconda completely from macOS

To remove the configs:

conda install anaconda-clean
anaconda-clean --yes

Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir:

rm -rf ~/anaconda3

Also, the anaconda-clean --yes command creates a backup in your home directory of the format ~/.anaconda_backup/<timestamp>. Make sure to delete that one also.


EDIT (v5.2.0): Now if you want to clean all, you will also have to delete the two last lines added to your .bash_profile. They look like:

# added by Anaconda3 5.2.0 installer
export PATH="/Users/ody/anaconda3/bin:$PATH"

How can I properly uninstall Anaconda?

You need to clean a few more files and directories:

OS X Anaconda uninstall

To uninstall Anaconda open a terminal window and remove the entire anaconda install directory: rm -rf ~/anaconda. You may also edit ~/.bash_profile and remove the anaconda directory from your PATH environment variable, and remove the hidden .condarc file and .conda and .continuum directories which may have been created in the home directory with rm -rf ~/.condarc ~/.conda ~/.continuum.

How to uninstall Anaconda(Mac)

According to https://docs.continuum.io/anaconda/install#anaconda-clean

First install anaconda-clean by conda install anaconda-clean
and then anaconda-clean --yes

Issue Removing Anaconda from MacOS

Try using the simple remove instructions on the page you linked to:
https://docs.continuum.io/anaconda/install#uninstall-anaconda

First do which python to see where the old conda python is residing.

OS X: Open the Terminal.app or iTerm2 terminal application and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3

I don't know why the anaconda-clean did not work for you.



Related Topics



Leave a reply



Submit