Setup

If you use macOS or Linux, then you most likely already have Python on your computer! Python does not come with Windows, but it may be on your machine as part of other software (e.g. ArcGIS Desktop).

Why not work with an existing installation?

Unless you've worked with Python already, your pre-existing installation may only include the bare minimum and may be an out of date version. Therefore, we recommend installing a distribution, with Python and many useful add-ons already setup, for all operating systems.

Anaconda distribution

Anaconda packages the current version of Python 2 or 3 with over 150 packages included in the installation and supports hundreds of others. This includes many of the most heavily used packages supporting data transformation and analysis, and software to manage and add new packages, create virtual environments, and more.

Read more here

Download Anaconda Python 3.7, 64-bit

Download

Miniconda

The full Anaconda download needs approximately 3GB of space on your computer. If you don't have sufficient space, you can download Miniconda. Miniconda includes Python and the same package manager systems as Anaconda, but does not come packaged with any additional packages. You'll need to install them one by one as needed. More information on installing packages is available in Python II.

PATH Variables and Default Installation

In most cases, it is best to leave the default settings for installation.

Anaconda_install_settings.png

  1. PATH

    • Do not add Anaconda to your PATH variable.
  2. Registering Python

    • If you are installing Python for the first time, select "Register Anaconda as the system Python"

    • If you have Python-dependent software (e.g. ArcGIS, CAD software, etc), do not check "Register Anaconda as the system Python" or it may cause issues with your other programs.

      • If you're unsure, open your PC's Command Line (Start>Windows System>Command Prompt) or Mac's Terminal (Applications>Utilities>Terminal) and type python and press Enter. If you already have Python you should see something like the image below - do not check Register Anaconda as the system Python.

    Command Prompt Python

  1. Visual Studio Code

    • Skip installing Microsoft VSCode.

Note: If you would like to use Python for the duration of this workshop without downloading anything (or have problems downloading Anaconda), we recommend using pyfiddle.io. Make sure you set Python version to 3.6 on the left side of the screen.

If you would like to save your work and continue to use Python on your computer, we recommend downloading Anaconda.

  • Please install Anaconda following the instructions in Setup before the workshop if possible.
  • If you haven't already installed Anaconda, please begin downloading the Anaconda distribution of Python as soon as possible. It's a large download and can be slow to download over wifi. If needed, we also have a limited number of thumb drives with the Anaconda installers. Please flag one of the staff if you need to copy the installer.
In [ ]: