Apple MacBook

Neil HaddleyJuly 25, 2023

Anaconda Setup

PythonmacOSanaconda

I used Anaconda, a popular open-source distribution of Python tailored for data science, machine learning, and scientific computing.

Anaconda incorporates a package manager (Conda) and the Jupyter Notebook/Jupyter Lab development environments.

Apple MacBook Reset

I reset my Apple MacBook laptop and installed Anaconda.

I restarted my laptop and held down the power button until I could access the recovery assistant menu

I restarted my laptop and held down the power button until I could access the recovery assistant menu

I selected Options

I selected Options

I clicked Erase Mac...

I clicked Erase Mac...

I clicked Erase Mac

I clicked Erase Mac

I selected a wifi network

I selected a wifi network

I reinstalled macOS Ventura

I reinstalled macOS Ventura

I clicked Agree

I clicked Agree

I selected the disk

I selected the disk

The installation took approximately 3 hours

The installation took approximately 3 hours

Anaconda install

I ran into a documented issue when I tried to install Anaconda on my Apple MacBook.

These install steps worked for me:

1. I ran the Xcode setup: xcode-select --install

2. I downloaded the Anaconda command line installer

3. I opened a Terminal and navigated to ~/Downloads

4. I ran the downloaded script: bash Anaconda3-2023.03-MacOSX-arm64.sh

Python was not present

Python was not present

I installed Xcode with xcode-select --install

I installed Xcode with xcode-select --install

I had installed Python version 3.9.6

I had installed Python version 3.9.6

The Xcode installation completed

The Xcode installation completed

I installed Anaconda with bash Anaconda3-2023.03-MacOSX-arm64.sh

I installed Anaconda with bash Anaconda3-2023.03-MacOSX-arm64.sh

I agreed to the license terms

I agreed to the license terms

I confirmed the install location

I confirmed the install location

The Anaconda installation completed

The Anaconda installation completed

Python 3.10.9 was now available in the "base" Anaconda environment

Python 3.10.9 was now available in the "base" Anaconda environment

I installed support for Jupyter Lab into the base environment

I installed support for Jupyter Lab into the base environment