I TRIED ALL THESE COMMANDS BUT ERROR REMAIN SAME : sudo apt-get install cmake python3 -m pip install --no-cache-dir -r requirements.txt sudo apt-get install build-essential cmake sudo apt-get install libgtk-3-dev sudo apt-get install libboost-all-dev THIS ERROR " 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
╰─> [10 lines of output]
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "/usr/local/bin/cmake", line 5, in
from cmake import cmake
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
Building wheel for face-recognition-models (setup.py) ... done
Created wheel for face-recognition-models: filename=face_recognition_models-0.3.0-py2.py3-none-any.whl size=100566170 sha256=229cfacff96352d33c6f4bcf20c72d890f89ca2c49bdded9714f18b80b9cd259
Stored in directory: /tmp/pip-ephem-wheel-cache-utn9qi4o/wheels/04/52/ec/9355da79c29f160b038a20c784db2803c2f9fa2c8a462c176a
Successfully built face-recognition-models
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects "
I TRIED ALL THESE COMMANDS BUT ERROR REMAIN SAME : sudo apt-get install cmake python3 -m pip install --no-cache-dir -r requirements.txt sudo apt-get install build-essential cmake sudo apt-get install libgtk-3-dev sudo apt-get install libboost-all-dev THIS ERROR " 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 ╰─> [10 lines of output] running bdist_wheel running build running build_ext Traceback (most recent call last): File "/usr/local/bin/cmake", line 5, in
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib Building wheel for face-recognition-models (setup.py) ... done
Created wheel for face-recognition-models: filename=face_recognition_models-0.3.0-py2.py3-none-any.whl size=100566170 sha256=229cfacff96352d33c6f4bcf20c72d890f89ca2c49bdded9714f18b80b9cd259 Stored in directory: /tmp/pip-ephem-wheel-cache-utn9qi4o/wheels/04/52/ec/9355da79c29f160b038a20c784db2803c2f9fa2c8a462c176a Successfully built face-recognition-models Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects "