Installation

Requirements

Python

3.10 or newer

Operating System

Linux, macOS, Windows (prebuilt wheels available)

Install via pip

pip install modern_colorthief

Install via Poetry

poetry add modern_colorthief

Install via uv

uv pip install modern_colorthief

Tip

Use uv for the fastest installation experience. It resolves and installs dependencies up to 10x faster than pip.

Verify Installation

>>> import modern_colorthief
>>> print(modern_colorthief.__version__)
0.2.1

Note

If you encounter platform-specific build errors, ensure your system has a C compiler and the latest Rust toolchain installed. Prebuilt wheels cover most common platforms.

See also

Usage – Once installed, see how to use the library.