Installation¶
Requirements¶
- Python 3.11 or higher
- Rust toolchain (for building from source)
Install from PyPI¶
Once published, you can install EpiModel directly from PyPI:
Install from Source¶
To install the latest development version:
1. Install Prerequisites¶
Install Rust¶
Install Poetry (optional, for development)¶
2. Clone the Repository¶
3. Install with pip¶
4. Install with Poetry (for development)¶
Verify Installation¶
Test that EpiModel is correctly installed:
from epimodel import ModelBuilder
from epimodel.constants import ModelTypes
print("EpiModel installed successfully!")
Next Steps¶
- Quick Start Guide - Build your first model
- Core Concepts - Understand EpiModel fundamentals