Manim for Economics uses Manim Community 0.20.1 and Python 3.11 or newer. The repository selects Python 3.12 for a stable common environment.
For the route that bundles Python, Manim, TeX, native libraries, and fonts in one image, use the Docker and Dev Container guide.
Follow the current uv installation guide. Confirm:
uv --versionuv installs the requested Python version and creates an isolated .venv.
Manim itself can render plain text without LaTeX, but economics videos normally
need MathTex. Install LaTeX before running the strict doctor.
Install MacTeX and make sure latex and
dvisvgm are on PATH. Manim may also need:
brew install cairo pkg-configInstall MiKTeX. Allow MiKTeX to install missing packages when prompted. In PowerShell, restart the shell after installation.
sudo apt update
sudo apt install build-essential python3-dev libcairo2-dev libpango1.0-dev \
texlive-latex-base texlive-latex-extra texlive-fonts-recommended dvisvgmOther Linux distributions should follow the Manim local installation guide.
git clone https://github.com/sfuchs-de/manim-for-economics.git
cd manim-for-economics
uv sync --frozenThe committed uv.lock makes the Python environment reproducible across
supported platforms.
uv run econ-manim doctor --strictCore checks must pass for Python, Manim, LaTeX, and dvisvgm. FFmpeg is optional and only needed for the audio-mixing command. Manim 0.20.1 uses PyAV for its normal video output.
uv run econ-manim themes
uv run econ-manim demoPreview the same project in the light preset:
uv run econ-manim preview starter --theme ivoryThe output is below starter/build/. Source files live directly in starter/;
do not edit generated media.
If you already manage Python environments:
python -m venv .venvActivate the environment:
# macOS or Linux
source .venv/bin/activate
# Windows PowerShell
.venv\Scripts\Activate.ps1Then install:
python -m pip install --upgrade pip
python -m pip install -e .
econ-manim doctor --strictUse python -m manim in place of manim if the console entry point is not on
your shell's PATH.