Uninstall Anaconda from macOS Big Sur

Hello,

I've some question about uninstalling Anaconda from macOS Big Sur. I was wondering if someone can please help me figure it our what to do.

I followed the instruction on the official website (https://docs.anaconda.com/anaconda/install/uninstall/) plus some other guides, but I'm note an expert and I didn't reach my goal. That's what I did:

1) conda install anaconda-clean
2) anaconda-clean --yes
3) rm -rf ~/.condarc ~/.conda ~/.continuum
4) rm -rf ~/anaconda
5) conda remove -n myenv scipy

*PackagesNotFoundError

6) conda remove scipy
7) conda remove scipy curl

*PackagesNotFoundError

8) rm -rf ~/anaconda3
9) rm -rf ~/.anaconda_backup
10) export PATH=”/Users/MYUSERNAME/anaconda3/bin:$PATH

11) At the end I've deleted the application throwing it in the trash and emptying it.


However, I have still a folder in \opt path, \opt\anaconda3. I'm sure another folder was in \user\MYNAME, but I think I've deleted it, because I can't see it anymore, even in the hidden folders.

Then, if I run

conda list

lots of other packages are still available

# packages in environment at /opt/anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0  
anaconda-clean            1.1.0            py37hecd8cb5_1  
anaconda-client           1.7.2                    py37_0  
[...] 
zlib                      1.2.11               h1de35cc_3  
zstd                      1.4.5                h41d2c2f_0

Also, conda still run in my terminal as I see (base) every time I open it, here an example

(base) MYUSERNAME@MacBook ~ %


I just wanted delete all the packages and files related to Anaconda.

Thanks in advance

MacBook Pro

Posted on Mar 27, 2021 3:51 AM

Reply
1 reply

Mar 27, 2021 7:08 AM in response to Andrea_tech

Anaconda is not a standard Python installation and you should revisit its full removal process from its vendor. The suspect is everything in /opt/anaconda3, but that still does not guarantee full removal of it.


As I never install any Python that is not directly from Python.org, or any third-party package outside of a respective venv, I do not have these cleanup issues you are now facing.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Uninstall Anaconda from macOS Big Sur

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.