Setup.py error when installing dlib on Windows 10 [PYTHON]
Question:
Whenever I try to install dlib using pip install dlib or pip3 install dlib, I get the following error message error
I have already downloaded cmake and cv2, and I have also added cmake bin to the environment variables, I am not sure what else I could do to get this working. My main point downloading dlib is to be able to use the face_recognition library.
Answers:
Follow the article on the https://www.geeksforgeeks.org/how-to-install-dlib-library-for-python-in-windows-10/
- Install
CMake
from its official website and make sure choose the right version according to your system configuration.
- While installing
CMake
select Add CMake to the system PATH
to avoid any error in the next steps.
- Install the c++ compiler of the visual studio code community version.
- Install
cmake
library pip install cmake
.
- Install
dlib
library pip install dlib
.
Whenever I try to install dlib using pip install dlib or pip3 install dlib, I get the following error message error
I have already downloaded cmake and cv2, and I have also added cmake bin to the environment variables, I am not sure what else I could do to get this working. My main point downloading dlib is to be able to use the face_recognition library.
Follow the article on the https://www.geeksforgeeks.org/how-to-install-dlib-library-for-python-in-windows-10/
- Install
CMake
from its official website and make sure choose the right version according to your system configuration. - While installing
CMake
selectAdd CMake to the system PATH
to avoid any error in the next steps. - Install the c++ compiler of the visual studio code community version.
- Install
cmake
librarypip install cmake
. - Install
dlib
librarypip install dlib
.