How To Install Dlib In Python 3.9 (Windows 10) | Dlib and CMake

preview_player
Показать описание
how to install dlib in python windows 10

In this video I will show you how to install dlib in python 3.9.
By the end of this video you will understand how to install dlib and cmake in window 10 using pip command.

To install dlib, we need to install cmake and dlib library using command

1. pip install cmake
2. pip install dlib

pip command is use to install python package, in this video we will use pip to install dlib latest version in window 10 with python 3.9

What is dlib?

Here you find the documentation and you can also read how to install dlib

dlib (19.22.0) latest version link

python (3.9.6) latest version link

#install #dlib #cmake #python #3.9
Рекомендации по теме
Комментарии
Автор

it not working on win11. This error:
legacy-install-failure

× Encountered error while trying to install package.
╰─> dlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

entiktv
Автор

i can't install anything because of this error: module 'enum' has no attribute 'global enum'

sayrozs
Автор

Bro! Was trying to do the same thing in pycharm and got error saying install visual studio and all

kp_
Автор

C:\Users\lovan>python -m pip install dlib
Collecting dlib
Using cached dlib-19.23.0.tar.gz (3.2 MB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for dlib, since package 'wheel' is not installed.
Installing collected packages: dlib
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:

and long and long error code after...
I need some help from you.

lovanvovn
Автор

Running setup.py install for dlib ... error

TuNguyen-pqcn
Автор

i use Python 3.11.3 and i got a error :
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

Please help me -_-

duantruong
Автор

I'm using Python 3.9.7 and I got an error like this:

Collecting dlib
Using cached dlib-19.23.0.tar.gz (3.2 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... error
ERROR: Command errored out with exit status 1:

hamzaerensarpdag
Автор

Hi, I am using python 3.10 version I installed cmake but still getting error in dlib installation

krishnendusg
Автор

Bro in 3.9.5 not install please help show error does not support platform

pankajrao
Автор

C:\Users\user>python -m pip install cmake

a__saquibsheikh
Автор

C:\Users\user>python -m pip install dlib

a__saquibsheikh