Не могу установить face-recognition на python
Не могу установить пакет face-recognition, облазил кучу форумов и перепробовал всё.
Cmake установлен и добавлен в path

python версии 3.8.0
Когда пытаюсь установить dlib для face-recognition вылазит ошибка

полный текст ошибки
(venv) C:\Users\Кирилл\Desktop\user\read1>py -m pip install dlib
Collecting dlib
Using cached https://files.pythonhosted.org/packages/3c/07/a2693a94ac678c442c4cfe269d24f63053b14410ef2d09957a762eeb4b8e/dlib-19.24.6.tar.gz
Installing collected packages: dlib
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Кирилл\Desktop\user\read1\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Кирилл\AppData\Local\Temp\pip-record-k3fblexs\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Кирилл\Desktop\user\read1\venv\include\site\python3.8\dlib'
cwd: C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\
Complete output (92 lines):
running install
running build
running build_ext
Building extension for Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=C:\Users\Кирилл\Desktop\user\read1\venv\Scripts\python.exe -DDLIB_USE_FFMPEG=OFF -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\build\lib.win-amd64-3.8 -A x64'
-- Building for: Visual Studio 17 2022
CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34809.0
-- The CXX compiler identification is MSVC 19.43.34809.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at C:/Users/Кирилл/AppData/Local/Temp/pip-install-q31klbe9/dlib/dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake:5 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
CMakeLists.txt:35 (include)
CMake Deprecation Warning at C:/Users/Кирилл/AppData/Local/Temp/pip-install-q31klbe9/dlib/dlib/external/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- pybind11 v2.12.0
-- Found PythonInterp: C:/Users/Кирилл/Desktop/user/read1/venv/Scripts/python.exe (found suitable version "3.8", minimum required is "3.6")
CMake Error at C:/Users/Кирилл/AppData/Local/Temp/pip-install-q31klbe9/dlib/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:265 (message):
Python libraries not found
Call Stack (most recent call first):
C:/Users/Кирилл/AppData/Local/Temp/pip-install-q31klbe9/dlib/dlib/external/pybind11/tools/pybind11Tools.cmake:50 (find_package)
C:/Users/Кирилл/AppData/Local/Temp/pip-install-q31klbe9/dlib/dlib/external/pybind11/tools/pybind11Common.cmake:192 (include)
C:/Users/Кирилл/AppData/Local/Temp/pip-install-q31klbe9/dlib/dlib/external/pybind11/CMakeLists.txt:247 (include)
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\setup.py", line 243, in <module>
setup(
File "C:\Users\Кирилл\Desktop\user\read1\venv\lib\site-packages\setuptools\__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Кирилл\Desktop\user\read1\venv\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\setup.py", line 168, in run
self.build_extension(ext)
File "C:\Users\Кирилл\AppData\Local\Temp\pip-install-q31klbe9\dlib\setup.py", line 206, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\build\\lib.win-amd64-3.8', '-DPYTHON_EXECUTABLE=C:\\Users\\Кирилл\\Desktop\\user\\read1\\venv\\Scripts\\python.exe', '-DDLIB_USE_FFMPEG=OFF', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\build\\lib.win-amd64-3.8', '-A', 'x64']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Кирилл\Desktop\user\read1\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\Кирилл\\AppData\\Local\\Temp\\pip-install-q31klbe9\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Кирилл\AppData\Local\Temp\pip-record-k3fblexs\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Кирилл\Desktop\user\read1\venv\include\site\python3.8\dlib' Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 25.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.


