invictus
invictus

Reputation: 1971

How can I properly uninstall Anaconda?

I love Anaconda but it has given me so many headaches that I want to try removing it from my machine and starting over from scratch. The issues stem from paths changing behind the scenes and other things I don't understand. For example, I had to create a virtual environment within Anaconda (source create) just to use Spyder. I installed the Quantitative Economics package from home brew (brew install quantecon) and it too only works if I create a virtual environment for it. Weird stuff.

My question is: is starting over as simple as

conda install anaconda-clean
anaconda-clean --yes
rm -rf ~/anaconda

and then reinstalling? Or are there other dependencies, possibly hidden, that I should be concerned about? My big concern is accidentally deleting the Mac OS python.

Upvotes: 1

Views: 7367

Answers (1)

Mike Müller
Mike Müller

Reputation: 85542

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.

Upvotes: 4

Related Questions