Dlib setup for Windows Python

Ankit Mishra
Oct 18, 2023

--

Step by step process to install dlib package for windows :

  1. Install CMake from here : https://cmake.org/download/
  2. In windows, search for edit environment variables and add CMake to path.

3. Next step is to install C++ dependencies of Visual studio, since its required to compile C / C+-+ modules of Dlib.

4. Final step would be do a few Pip install dependencies for Python.

pip install build

pip install cmake

conda install -c conda-forge dlib

NOTE : pip install dlib did not work for Me, it was not able to build the package, however conda install worked for us.

--

--

No responses yet