Installation Guide
This guide covers environment setup and installation for AMMM.
Prerequisites
Section titled “Prerequisites”- Python 3.10–3.12 (
requires-python = ">=3.10,<3.13") pipandvenv(usually bundled with Python)- Optional (for graph rendering): Graphviz system package
- Ubuntu/Debian:
sudo apt-get install graphviz - macOS:
brew install graphviz - Windows: use Conda (see Option A)
- Ubuntu/Debian:
Installation Options
Section titled “Installation Options”Clone the repository
Section titled “Clone the repository”git clone https://github.com/tandpds/ammm.gitcd ammmOption A: Conda (recommended on Windows)
Section titled “Option A: Conda (recommended on Windows)”conda create -n ammm python=3.11 pip -yconda activate ammmconda install -c conda-forge prophet m2w64-toolchain -ypip install -e .
# Optional extraspip install -e .[dev]pip install -e .[docs]pip install -e .[llm]Option B: venv (Linux/macOS and alternatives)
Section titled “Option B: venv (Linux/macOS and alternatives)”python -m venv venv_ammm
# Linux/macOSsource venv_ammm/bin/activate
# Windows (Command Prompt/PowerShell)venv_ammm\Scripts\activate
python -m pip install --upgrade pip setuptools wheelpip install -e .
# Optional extraspip install -e .[dev]pip install -e .[docs]pip install -e .[llm]Verification
Section titled “Verification”After installation, verify both driver import and cache CLI availability.
Python API verification
Section titled “Python API verification”Recommended import path (matches runme.py and V2 examples):
from driver import MMMBaseDriverV2print("AMMM V2 driver available:", MMMBaseDriverV2 is not None)Compatibility import (legacy docs/examples):
from src.driver import MMMBaseDriverV2print("AMMM V2 driver available via src.driver:", MMMBaseDriverV2 is not None)You can also check package metadata:
import srcprint("AMMM version:", getattr(src, "__version__", "unknown"))Cache CLI verification
Section titled “Cache CLI verification”The ammm-cache entrypoint is defined in pyproject.toml and should be available after install:
ammm-cache infoExpected header:
AMMM Cache InformationIf shell entrypoints are unavailable in your environment, run the module directly:
python -m src.utils.cache_cli infoNext Step
Section titled “Next Step”Continue with the Quickstart Guide to run the full pipeline and inspect stage-based outputs.