Prerequisites
Before installing Archeo-Cluster, make sure you have:- Python 3.11 or later — Archeo-Cluster requires Python 3.11+. Check your version with
python --version. - uv — The recommended package manager for Archeo-Cluster. Install it from docs.astral.sh/uv.
uv handles virtual environment creation and dependency locking automatically. You do not need to create a virtual environment manually.Install Archeo-Cluster
Install dependencies
Run
uv sync to install all dependencies into an isolated virtual environment:uv reads pyproject.toml and installs all required packages including NumPy, OpenCV, pandas, scikit-learn, matplotlib, and Typer.Dev install
If you plan to contribute or run the test suite, install the development dependencies:Running make commands
The project includes aMakefile with common development tasks:
| Command | Description |
|---|---|
make install | Install dependencies with uv sync --extra dev |
make test | Run the full test suite with pytest |
make lint | Run ruff and mypy on src/ and tests/ |
make format | Format and auto-fix code with ruff |
make check | Run lint and test together |
Troubleshooting
Ifuv is not found, install it following the uv installation guide and ensure it is on your PATH.
If you see import errors for cv2 or other packages, confirm you are running commands with uv run or that your shell has activated the uv-managed virtual environment.