Install dlib for python3.10 on windows
Download dlib wheel file to install dlib for python 3.10 here
Dlib is a modern C++ toolkit that contains machine learning algorithms and tools for creating complex software in C++. this libraries Python version is also available which wraps up this c++ dlib.
It provides a variety of algorithms for face detection, face landmark detection, object tracking, pose estimation, and image processing. One of the main strengths of dlib is its ability to work efficiently with both CPU and GPU. Dlib also has Python bindings, which makes it easy to use in Python.
Dlib is widly used for Face recognition, Object detection and tracking, Image segmentation, Landmark, augmented reality, facial expression analysis, and gesture recognition etc.
Overall, dlib is a versatile and powerful library that can be used in a wide range of applications that require advanced computer vision and machine learning algorithms.
Install dlib is not easy task:
There is high chance that encounter error while trying to install package. dlib,
Installing dlib is not easy task:
--Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt: T
he CMAKE_C_COMPILER: cl is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error in CMakeLists.txt: The CMAKE_CXX_COMPILER: cl is not a full path and was not found in the PATH. To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler.
To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
Solution:
How to install dlib on windows. Install dlib with wheel file.
- download dlib wheel file for python 3.10 here
- Extract the downloaded file
- open command prompt on windows
- cd <extracted folder path>
- pip install dlib-19.22.99-cp310-cp310-win_amd64.whl
If you are unable to follow any steps then please go through the video tutorial.
How to Install dlib on Python 3.9
3 Comments