Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16714

error while install dlib on cmd, could not build wheels for dlib

$
0
0

im getting this error while trying o install dlib on cmdi already install cmake version 3.26.1visual studion python version is 3.10

pip install dlib

and the results

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) ... doneBuilding 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 <module>      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 dlibFailed to build dlibERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

i dont know what to do, please help:"


Viewing all articles
Browse latest Browse all 16714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>