Installation
This page contains instructions for installing the required dependencies on a local computer.
Instructor note
5 min to initialize the setup and
conda
/pip
commandLet
conda env create
/pip install
run in the background
Local installation
If you already have a preferred way to manage Python versions and libraries, you can stick to that[1]. If not, we recommend that you install Python3 and all libraries using Miniforge, a free minimal installer for the package, dependency and environment manager conda.
Please follow the installation instructions on https://conda-forge.org/download/ to install Miniforge.
Make sure that both Python and conda are correctly installed:
$ python --version
$ # should give something like Python 3.12.5
$ conda --version
$ # should give something like conda 24.7.1
With conda (or mamba) installed, install the required dependencies by running:
$ conda env create -f https://raw.githubusercontent.com/ENCCS/python-perf/main/content/env/environment.yml
This will create a new environment python-perf
which you need to activate
by:
$ conda activate python-perf
Finally, open Jupyter-Lab in your browser:
$ jupyter-lab