Installation

pip install geokmeans

Prebuilt wheels are published for Linux, macOS, and Windows (CPython 3.9–3.13), so no compiler is required on common platforms. On other platforms pip builds from source; this needs a C++17 compiler. The required Eigen headers are bundled, so there are no external C++ dependencies.

Requirements

  • Python 3.9+

  • NumPy 1.21+