These tutorials requires Python 3.8 or newer, plus a few additional packages. It is strongly advised to create a virtual environment before installing anything specifically for these tutorials. To get started, navigate to the tutorial subdirectory
cd tutorial/VisualisationAndPost/and create a virtual environment...
... with conda
conda create --name=<name> python=3.10
conda activate <name>(<name> is a placeholder, for instance idefix_tuto, and the Python version is
indicative)
... or with venv
python -m venv env
source env/bin/activateThen proceed to install requirements
python -m pip install -r requirements.txtBetween sessions, and before we move on, you might want to clean up your shell and your disk ! Here's how to.
on conda
conda deactivateor with venv
source deactivatewith conda
conda remove --all --name <name>or with venv
rm -fr env