Skip to Main Content

Software Carpentry

MacOS

Install

  1. Open https://www.anaconda.com/products/individual#Downloads with your web browser.
  2. Download the 64-Bit Graphical Installer for macOS.
  3. Install Python 3 by running the Anaconda Installer, accepting all of the defaults for installation. The installation will 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 you are using a brand-new Mac, you may want to adjust your Finder settings so that you can see which files are associated with Python:
    1. Open the Finder.
    2. Go to the "Finder" menu and select "Preferences". The Finder Preferences window will open.
    3. Select the "Sidebar" tab. Under "Favorites", you will see a house icon with your login name next to it. Check the box next to the icon.
    4. Select the "Advanced" tab. Check the box next to "Show all filename extensions".
    5. Close the Finder Preferences window.
  5. 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/products/individual#Downloads with your web browser.
  2. Download the 64-Bit Graphical Installer for Windows.
  3. Install Python 3 by running the Anaconda Installer. Use the suggested defaults, with one exception: You should check the box next to "Add Anaconda to my PATH environment variable". The installation will 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/products/individual#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