New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while installing dlib #2734
Comments
anyone? |
do you have |
yes |
Which version of |
Collecting dlib × python setup.py bdist_wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Running setup.py install for dlib did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
@Ripat123 , your issue seems to be related to |
Also having the same legacy-install-error while trying to install dlib with Python 3.11 |
It's worked on dlib 19.19 with python 3.8. But it does not work on dlib 19.24 with python 3.11. |
Could you try dlib from master? See #2659 for more details. |
If you are getting gif_lib.h errors, you can do the following:
In adittion, You can do the following:
The solution does not belong to me. Source: https://www.youtube.com/watch?v=BUu6hrcYI_c I hope that solves your problem! |
Warning: this issue has been inactive for 35 days and will be automatically closed on 2023-05-21 if there is no further activity. If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search. |
Warning: this issue has been inactive for 43 days and will be automatically closed on 2023-05-21 if there is no further activity. If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search. |
Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error. |
l-packages\Python311\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\INDRAJEETH\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Users\INDRAJEETH\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\setup.py", line 134, in run
self.build_extension(ext)
File "C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\build\lib.win-amd64-cpython-311', '-DPYTHON_EXECUTABLE=C:\Users\INDRAJEETH\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\INDRAJEETH\AppData\Local\Temp\pip-install-o_74_pml\dlib_ff89b3f7ef144acfb076d00d5bad3298\build\lib.win-amd64-cpython-311', '-A', 'x64']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
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.
The text was updated successfully, but these errors were encountered: