Tutorial 1: Installing Jupyter Notebook
For running pywapor locally on your laptop, you need to install Python program and install pywapor package in your python environment. This can be done in several ways, however, we recommend you use Mamba package manager, because it is fast, robust, and cross-platform.
Once you have python and pywapor installed, you can run pywapor model through Python console (command line interface). However, we recommend you to use Jupyter Lab interface. JupyterLab is a web-based interactive development environment for notebooks, code, and data. It will allows you take notes, interact with you python scripts and save the outputs in digital notebooks.
In this book, we will take you through the steps to install python and python packages on your PC. The instructions are adapted from GISOpenCourseWare
2. Install Mamba and accessing the Miniforge prompt
Install Mamba and accessing Miniforge
A package manager is a tool that allows you to manage the dependencies for your project that are not part of the Python standard library. Dependencies are code that is required for your program to function properly, often in the form of packages.
Pip is the most popular package manager for Python, which can install packages from many sources. The Python Package Index, PyPI, is the primary source.
Although Pip is fine for general Python computing, it is preferred to use package managers that can create isolated environments that can be used to manage dependencies for different projects. Conda is the most popular one. A newer package manager is Mamba, which is faster than conda.
1. Download the Miniforge installer for Windows from the official Miniforge GitHub repository.
2. Install Miniforge. Follow these instructions from the excellent tutorial by Christian Mills.
On Windows we use Mamba through the Miniforge prompt, which is a command-line interface for interacting with conda environments.
Follow these steps in the tutorial by Christian Mills.