Skip to content

Installation

When to use this page

Use this page when setting up mechestim for the first time.

Install as a dependency

uv add git+https://github.com/AIcrowd/mechestim.git

Install for development

git clone https://github.com/AIcrowd/mechestim.git
cd mechestim
uv sync --all-extras

✅ Verify installation

uv run python -c "import mechestim as me; print(me.__version__)"

🔍 What you'll see

0.2.0+np2.1.3

The version string includes the pinned NumPy version suffix. If you see a version number, mechestim is installed correctly.

⚠️ Common pitfalls

Symptom: ImportError: numpy version mismatch

Fix: mechestim requires NumPy >=2.1.0,<2.2.0. Using uv handles this automatically. If you installed manually, check your NumPy version:

uv run python -c "import numpy; print(numpy.__version__)"