This project provides pre-compiled binary wheels of dlib, making it easy to integrate into your Python projects without the hassle of building from source.
With dlib-bin, you're just one pip install command away from starting your next machine learning project!
We currently build wheels for the following platforms:
- Windows (AMD64)
- macOS (Apple Silicon / arm64)
- Linux GLIBC-based distributions like Ubuntu, Debian, and RHEL (x86_64 and aarch64, manylinux_2_28)
- Linux MUSL-based distributions like Alpine (x86_64 and aarch64, musllinux_1_2)
Installing dlib-bin is straightforward. Simply run:
pip install dlib-binThat's it! No compilers, no build tools—just a ready-to-use dlib installation.
We welcome contributions! If you'd like to trigger a new release, please update the following variables in the .github/workflows/build.yaml file:
BUILD_COMMIT– Set this to the new tag or commit from the dlib repository that you want to buildDLIB_BIN_VERSION– Set this to the desired version number for thedlib-binpackage on PyPI
Once updated, simply commit and push your changes to trigger the build workflow.
Version 20 and Beyond:
Starting with version 20 (October 2025), this distribution builds binary wheels for the four most recent Python versions: currently Python 3.11, 3.12, 3.13, and 3.14.
macOS Support:
Following Apple's deprecation of Intel-based macOS builds, we now support Apple Silicon (arm64) only starting from version 20.