Installation#
These tutorials run on Python 3.12–3.14. The steps below get you a fresh environment with everything needed to run the notebooks locally.
First, clone the repository:
git clone https://github.com/BalzaniEdoardo/nemos_glm_tutorials.git
cd nemos_glm_tutorials
Then pick your package manager:
uv creates and manages the virtual environment
for you — one command installs the project with the notebooks extra into a
fresh .venv:
uv sync --extra notebooks
Launch JupyterLab inside that environment:
uv run jupyter lab
Create and activate a fresh environment, then install with the notebooks
extra:
conda create -n nemos-tutorials python=3.12
conda activate nemos-tutorials
pip install -e ".[notebooks]"
Launch JupyterLab:
jupyter lab
Running a tutorial#
The tutorial notebooks live on this website. To run one locally:
Open the tutorial page you want (browse the collections from the home page).
At the top of the page, in the “Run this tutorial yourself” box, click the Jupyter notebook (.ipynb) download link to save the
.ipynb.Launch JupyterLab in the environment you created above and open the downloaded notebook:
# uv uv run jupyter lab # conda (with the env activated) jupyter lab
Every notebook downloads clean (no stored outputs), so running it top to bottom reproduces the figures from scratch.