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 withrm -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
How to Access Outer Class from an Inner Class
How to Check If Two Segments Intersect
Indexerror: Tuple Index Out of Range When Using Py2Exe
Why Do I Need 'B' to Encode a String with Base64
Isprime Function for Python Language
Text with Unicode Escape Sequences to Unicode in Python
Load Data from Txt with Pandas
Adding Directory to Sys.Path /Pythonpath
Unicodedecodeerror: 'Ascii' Codec Can't Decode Byte 0Xef in Position 1
Zip Variable Empty After First Use
Including Non-Python Files with Setup.Py
How to Properly Round-Up Half Float Numbers
How to Convert a Datetime to Date
How to Decode Base64 Data in Python