TiShow
TiShow

Reputation: 1014

How to uninstall Anaconda(Mac)

I am not familiar to computer. I want to uninstall Anaconda and reinstall it because I accidentally deleted Networkx and some packages included in Anaconda. Therefore I attempted to delete Anaconda and reinstall it however, I got this message Anaconda is already installed in /Users/myname/anaconda. Use 'conda update anaconda' to update Anaconda. and could not install when I tried. I used this command to delete :sudo rm -rf /anaconda and rm -rf ~/.continuum/ How should I do to delete it and reinstall completely ? It would be very appreciated if it is explained in detail.

Upvotes: 1

Views: 19228

Answers (2)

Peter
Peter

Reputation: 658

From the documentation:

To remove all configuration files, run:

conda install anaconda-clean
anaconda-clean --yes

Then, 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 (note the ~ here)

Upvotes: 1

Chih-Hsu Jack Lin
Chih-Hsu Jack Lin

Reputation: 453

According to https://docs.continuum.io/anaconda/install#anaconda-clean
First install anaconda-clean by conda install anaconda-clean
and then anaconda-clean --yes

Upvotes: 3

Related Questions