I am facing issue installing dlib on windows 10 Edition Windows 10 Home Single Language Version 22H2 Installed on 13-07-2022 OS build 19045.2251 Experience Windows Feature Experience Pack 120.2212.4180.0
I have cmake installed ➜ cmake --version cmake version 3.24.0-rc3
CMake suite maintained and supported by Kitware
I have python 3.11 installed ➜ py --version Python 3.11.0
I have tried to install dlib using pip The error I recieved have been uploaded to pastebin
File "C:\Program Files\Python311\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "C:\Program Files\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Program Files\Python311\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Program Files\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Program Files\Python311\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Program Files\Python311\Lib\site-packages\setuptools\_distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
File "C:\Program Files\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Program Files\Python311\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Program Files\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Users\alent\Downloads\dlib-19.24\setup.py", line 134, in run
self.build_extension(ext)
File "C:\Users\alent\Downloads\dlib-19.24\setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Program Files\Python311\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
Then I tried building it from source So I downloaded the latest release from https://github.com/davisking/dlib/releases/tag/v19.24 The error I recied have been uploaded to pastebin https://pastebin.com/YjiVTMEp
Please help me. Thank you for looking into this.
When I try to build it from source, I get https://pastebin.com/YjiVTMEp When I try to install using pip, I get https://pastebin.com/8N5kb75D