Installing Anaconda Python On macOS

Anaconda Python can be installed by any CLASSE User, without Admin privileges, on any CLASSE Managed Mac.

Quick Install

  1. Download from https://www.anaconda.com/products/distribution
  2. Double click on Anaconda3 installer pkg file in your Downloads folder (e.g. Anaconda3-2022.10-MacOSX-x86_64.pkg)
  3. After clicking the Continue button in each of the three windows that appear.
  4. In the "Select a Destination" window, if "Install for me only" is not selected by default, then select it.
  5. If the Installer falsely states it has failed, click OK or Continue.
  6. Open an Apple Terminal window and copy and paste the following commands:
    echo -e '\n\n# Function to Initialize the Anaconda Environment' >> $HOME/.bash_profile
    echo 'mypython () {' >> $HOME/.bash_profile
    echo 'source $HOME/opt/anaconda3/etc/profile.d/conda.sh' >> $HOME/.bash_profile
    echo 'conda activate' >> $HOME/.bash_profile
    echo '}' >> $HOME/.bash_profile
    
    
  7. To initialize the installed Anaconda Environment, open a new Terminal window and simply type:
    mypython

Detailed Install Instructions (under construction)

Download Anaconda Python

Currently Python 3.9 is the supported version (version 2.7.X is EOL, since 2016).

Before you download, determine the type of Apple System you have:
  • x86_64, if your Mac has the legacy Intel CPU
  • arm64, if your Mac has the new M1 or M2 Apple Silicon CPU
  • Use the following to determine the CPU:
    sysctl -n machdep.cpu.brand_string

To obtain the macOS Graphical pakage (.pkg) installer:

You can also dowload the installer script, if you prefer to install using the Apple Terminal:

Run the Anaconda Python installer

Depending on which installer:
  • Double click on Anaconda3-2022.10-MacOSX-x86_64.pkg in the Downloads folder
  • Open a Apple Terminal window and run
    bash ~/Downloads/Anaconda3-2022.05-MacOSX-x86_64.sh

This topic: Computing > WebHome > MacSupport > InstallingAnacondaPythonOnMac
Topic revision: 15 Nov 2022, AttilioDeFalco
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback