Skip to content

Install

Pip

You can install the library using pip:

pip install mistral-common[opencv]

From source

To build it for source, you can clone the repository and install it using uv or pip. We recommend using uv for faster and more reliable dependency resolution:

git clone https://github.com/mistralai/mistral-common.git
cd mistral-common
uv sync --frozen
uv pip install . # or `uv pip install -e .` for development