Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 2.12 KB

README.md

File metadata and controls

55 lines (47 loc) · 2.12 KB

Dlib compiled binary wheels for Python 3.7 - 3.12 on Windows and x64 CPUs

This repository contains the compiled binary (.whl) files for the Dlib library to install on Python versions 3.7, 3.8, 3.9, 3.10, 3.11, and 3.12 on a Windows x64 OS.

📢 New Update:

  • May 08, 2024: Added compiled binary file (.whl) for Python 3.12!

Steps to install Dlib:

  • Install Python from Python.org (download the 64-bit installer file)

    OR

  • Create a virtual environment via venv or Anaconda i.e. conda create -n env_name python = 3.8

  • Download the wheel file for your specific Python version

  • Open a terminal and install Dlib via:

Python 3.7

python -m pip install dlib-19.22.99-cp37-cp37m-win_amd64.whl 

Python 3.8

python -m pip install dlib-19.22.99-cp38-cp38-win_amd64.whl

Python 3.9

python -m pip install dlib-19.22.99-cp39-cp39-win_amd64.whl

Python 3.10

python -m pip install dlib-19.22.99-cp310-cp310-win_amd64.whl

Python 3.11

python -m pip install dlib-19.24.1-cp311-cp311-win_amd64.whl

Python 3.12

python -m pip install dlib-19.24.99-cp312-cp312-win_amd64.whl

Steps to build Dlib from source:

If you'd like to build it from source, follow these exact steps as per their docs:

git clone https://github.com/davisking/dlib.git
cd dlib
pip install build
python -m build --wheel # Upon successful run, a ".whl" binary will be created under "dlib/dist/" 
pip install dist/dlib-<version>.whl # replace <version> with the exact name of the ".whl" file

Cheers!