Using pip 25.0.1 from C:\Users\Malar\Desktop\add\attendance-app\services\face-api\venv\Lib\site-packages\pip (python 3.12) Collecting dlib Using cached dlib-20.0.0.tar.gz (3.3 MB) Installing build dependencies: started Running command pip subprocess to install build dependencies Using pip 25.0.1 from C:\Users\Malar\Desktop\add\attendance-app\services\face-api\venv\Lib\site-packages\pip (python 3.12) Collecting setuptools Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/a3/dc/17031897dae0efacfea57dfd3a82fdd2a2aeb58e0ff71b77b87e44edc772/setuptools-80.9.0-py3-none-any.whl.metadata Using cached setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB) Collecting wheel Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl.metadata Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB) Using cached setuptools-80.9.0-py3-none-any.whl (1.2 MB) Using cached wheel-0.45.1-py3-none-any.whl (72 kB) Installing collected packages: wheel, setuptools Creating C:\Users\Malar\AppData\Local\Temp\pip-build-env-6ojhd8_o\overlay\Scripts Successfully installed setuptools-80.9.0 wheel-0.45.1 Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel running egg_info writing tools/python\dlib.egg-info\PKG-INFO writing dependency_links to tools/python\dlib.egg-info\dependency_links.txt writing top-level names to tools/python\dlib.egg-info\top_level.txt reading manifest file 'tools/python\dlib.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tools\python\build*' no previously-included directories found matching 'dlib\cmake_utils\*\build*' no previously-included directories found matching 'dlib\test' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'tools/python\dlib.egg-info\SOURCES.txt' Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info writing C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info\PKG-INFO writing dependency_links to C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info\dependency_links.txt writing top-level names to C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info\top_level.txt writing manifest file 'C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info\SOURCES.txt' reading manifest file 'C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tools\python\build*' no previously-included directories found matching 'dlib\cmake_utils\*\build*' no previously-included directories found matching 'dlib\test' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib.egg-info\SOURCES.txt' creating 'C:\Users\Malar\AppData\Local\Temp\pip-modern-metadata-sqp11mfi\dlib-20.0.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: dlib Building wheel for dlib (pyproject.toml): started Running command Building wheel for dlib (pyproject.toml) running bdist_wheel running build running build_ext ================================================================================ ================================================================================ ================================================================================ CMake is not installed on your system! Or it is possible some broken copy of cmake is installed on your system. It is unfortunately very common for python package managers to include broken copies of cmake. So if the error above this refers to some file path to a cmake file inside a python or anaconda or miniconda path then you should delete that broken copy of cmake from your computer. Instead, please get an official copy of cmake from one of these known good sources of an official cmake: - cmake.org (this is how windows users should get cmake) - apt install cmake (for Ubuntu or Debian based systems) - yum install cmake (for Redhat or CenOS based systems) On a linux machine you can run `which cmake` to see what cmake you are actually using. If it tells you it's some cmake from any kind of python packager delete it and install an official cmake. More generally, cmake is not installed if when you open a terminal window and type cmake --version you get an error. So you can use that as a very basic test to see if you have cmake installed. That is, if cmake --version doesn't run from the same terminal window from which you are reading this error message, then you have not installed cmake. Windows users should take note that they need to tell the cmake installer to add cmake to their PATH. Since you can't run commands that are not in your PATH. This is how the PATH works on Linux as well, but failing to add cmake to the PATH is a particularly common problem on windows and rarely a problem on Linux. ================================================================================ ================================================================================ ================================================================================ error: subprocess-exited-with-error Building wheel for dlib (pyproject.toml) did not run successfully. exit code: 1 See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: 'C:\Users\Malar\Desktop\add\attendance-app\services\face-api\venv\Scripts\python.exe' 'C:\Users\Malar\Desktop\add\attendance-app\services\face-api\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py' build_wheel 'C:\Users\Malar\AppData\Local\Temp\tmp_pksdet5' cwd: C:\Users\Malar\AppData\Local\Temp\pip-install-0v9s1j6y\dlib_5c30ebd48f0e49868e1123af08a37856 Building wheel for dlib (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for dlib Failed to build dlib [notice] A new release of pip is available: 25.0.1 -> 25.3 [notice] To update, run: python.exe -m pip install --upgrade pip ERROR: Failed to build installable wheels for some pyproject.toml based projects (dlib)