Install uv, then from the project folder run:
uv syncThis creates a .venv with everything needed. The courseware runs on Windows,
macOS (Apple Silicon and Intel), and Linux.
Standalone .py scripts open an interactive matplotlib window via Qt (PySide6).
On Linux this requires:
-
Ubuntu 22.04+ / Linux Mint 21+ (or another distro with glibc ≥ 2.34) so
uv synccan install PySide6. -
The Qt
xcbplatform plugin's system library. If a script fails with "Could not load the Qt platform plugin 'xcb'", install it once with:sudo apt install libxcb-cursor0
The Jupyter notebooks render plots inline and need none of the above — they run on any platform with no extra system packages.