Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anaconda on Mac

I'm new to Mac, and I recently installed Anaconda on my laptop. When I installed Anaconda on my Windows laptop, my previous version on Python remained the default version. However, when I install Anaconda on my Mac. It seems to have erased my previous version. Or at least when I click on the old version it says "Classic Environment no longer supported". Additionally, when invoking python from the terminal, it uses the version downloaded with Anaconda.

Now, there are quite a few python modules/packages that Anaconda doesn't support. So, I'd like to set the default version of python to the original version that came with the Mac. How would I go about accomplishing that?

like image 746
cloud36 Avatar asked Nov 29 '25 16:11

cloud36


1 Answers

The installer added a line like

# added by Anaconda 1.9.0 installer
export PATH="/Users/you/anaconda/bin:$PATH" 

to your .profile. That is what makes the Anaconda Python the default in the terminal.

like image 67
asmeurer Avatar answered Dec 01 '25 06:12

asmeurer