6.1. Preparation for using SuPy

This will take: ~30 mins

Prior to this activity

Note

It is very important you do the right thing at this point. Only do one of the following

  1. If you are a Windows user without a version of Python on you computer except for QGIS if so go here

  2. If you already have Jupyter Notebooks installed use that

  3. Otherwise follow these instructions

Activity

  • Installation of Jupyter Notebooks - follow the appropriate instructions for your operating system

  • If you already have Python3 and Jupyter Notebooks installed you do not need to do this.

  • If you are a Windows user, install the QGIS version OR you can go to Anaconda-based approach for General (all platforms).

Windows+QGIS: osgeo-based approach

  • With your already installed QGIS, go to the start menu in Windows, locate OSGeo4W Shell and open it. If you automatically do not have administrative rights you need to right-click on OSGeo4W Shell, Open file Location, Right-click on OSGeo4W Shell again and choose Run as Administrator; type the following two commands:

py3_env
pip install notebook
  • To start Jupyter Notebook type:

jupyter notebook

(or) General OS installation (all platforms): Anaconda-based approach

  • Download Anaconda3:

  • Install Anaconda3 (Jupyter Notebook included):

Note

If you use Anaconda for Python, it is better to choose conda-forge channel for package installation to have better compatibility with various scientific libraries.

Tip

  1. Stuck? the help and FAQ pages are useful places to start.

  2. Please report workshop manual issues at GitHub Issues. Go from the page with the problem - an automatical link will be inserted. Thanks.