Ошибка при установке dlib на cmd, не удалось создать колеса для dlibPython

Программы на Python
Anonymous
 Ошибка при установке dlib на cmd, не удалось создать колеса для dlib

Сообщение Anonymous »

я получаю эту ошибку при попытке установить dlib на cmd
я уже установил cmake версии 3.26.1
visual studio
n версия python — 3.10
pip install dlib
и результаты

Код: Выделить всё

Collecting dlib
Using cached dlib-19.24.1.tar.gz (3.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlib
Building wheel for dlib (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for dlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
Traceback (most recent call last):
File "C:\Users\shiri\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\shiri\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\shiri\AppData\Local\Programs\Python\Python310\Scripts\cmake.exe\__main__.py", line 4, in 
ModuleNotFoundError: No module named 'cmake'

ERROR: CMake must be installed to build dlib

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
Я не знаю, что делать, пожалуйста, помогите:"

Подробнее здесь: https://stackoverflow.com/questions/760 ... s-for-dlib

Вернуться в «Python»