Uninstall Anaconda on Mac OSX


I downloaded Anaconda for the convenience of learning python. It provides a large number of Python toolkits, but for some reason it needs to be uninstalled.

 

1. On Mac OS, the process of uninstalling is the process of removing software packages. Find the Anaconda installation path and drag it directly into the recycle bin.

2. Open the terminal, enter vi ~/.bash_profile, enter the variable information of the current user, find the variable information set by Anaconda (as follows), delete, and enter vi: wq (save and exit).

# added by Anaconda2 4.2.0 installer
 export PATH="/Applications/anaconda/bin:$PATH"

3. Log off or restart the computer to make the modification effective.