Skip to Main Content

Software Carpentry

MacOS

Install

  1. Open https://www.anaconda.com/download with your web browser.
  2. Download the installer that is appropriate for your hardware ("Intel" or "Apple Silicon"). You can determine which hardware your Mac uses by going to the Apple menu and selecting "About this Mac."
  3. Install Python 3 by running the Anaconda Installer, accepting all of the defaults for installation. The installation may take 5-10 minutes, depending on your hardware.
    1. If you get an error message saying "Anaconda cannot be installed in this location", select "Install on a specific disk...", then re-select "Install for me only" (this is a bug in the MacOS installer).
  4. If the Terminal application is running, shut it down by going to the "Terminal" menu and selecting "Shut down Terminal".

Verify your installation

  1. Launch the Anaconda Navigator application
  2. In the Jupyter Lab section, click the Launch button
  3. Jupyter Lab should open a new tab in your web browser. Visit the tab, and under the Notebook heading, click Python 3
  4. A new notebook titled "Untitled.ipynb" should appear

Windows

Install

  1. Open https://www.anaconda.com/download with your web browser.
  2. Download the installer.
  3. Install Python 3 by running the Anaconda Installer. Use the suggested defaults. The installation may take 5-10 minutes, depending on your hardware.

Verify your installation

  1. Launch the Anaconda Navigator application
  2. In the Jupyter Lab section, click the Launch button
  3. Jupyter Lab should open a new tab in your web browser. Visit the tab, and under the Notebook heading, click Python 3
  4. A new notebook titled "Untitled.ipynb" should appear

Linux

Install

  1. Open https://www.anaconda.com/download#downloads with your web browser.
  2. Download the 64-Bit (x86) Installer for Linux.
    (This installation requires using the shell. If you aren't comfortable doing the installation yourself, stop here and request help at the workshop.)
  3. Open a terminal window and navigate to the directory where the executable is downloaded. For example
    cd ~/Downloads
  4. Type 
    bash Anaconda3-
    and then press Tab to autocomplete the full file name. The name of file you just downloaded should appear.
  5. Press Enter. You will follow the text-only prompts. To move through the text, press Spacebar.
    1. Type yes and press enter to approve the license.
    2. Press Enter to approve the default location for the files.
    3. Type yes and press Enter to prepend Anaconda to your PATH (this makes the Anaconda distribution the default Python).
  6. Close the terminal window.

You may need to install additional prerequisites for the Anaconda graphical user interface. If you can't launch the Anaconda Navigator application, or if it's not working correctly, consult the installation guidelines for your distro: https://docs.anaconda.com/anaconda/install/linux/

Verify your installation

  1. Launch the Anaconda Navigator application
  2. In the Jupyter Lab section, click the Launch button
  3. Jupyter Lab should open a new tab in your web browser. Visit the tab, and under the Notebook heading, click Python 3
  4. A new notebook titled "Untitled.ipynb" should appear