Giter Club home page Giter Club logo

Comments (2)

KiLJ4EdeN avatar KiLJ4EdeN commented on May 22, 2024
  • face_recognition version:

    • Python version:

    • Operating System:

Description

run the program,and tell me can't find dlib. so,i run the commond pip install dlib,but installed failed

What I Did

pip install dlib

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

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 ╰─> [78 lines of output] running bdist_wheel running build running build_ext :125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

Check and see if you have a cxx compiler and cmake on your computer, since dlib must be compiled.

from face_recognition.

Shabeena-18 avatar Shabeena-18 commented on May 22, 2024

PS C:\Users\SHAIK SHABEENA> pip install cmake
Requirement already satisfied: cmake in c:\users\shaik shabeena\appdata\local\programs\python\python311\lib\site-packages (3.29.2)
PS C:\Users\SHAIK SHABEENA>
PS C:\Users\SHAIK SHABEENA> pip install dlib
Collecting dlib
Using cached dlib-19.24.4.tar.gz (3.3 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
╰─> [11 lines of output]
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\SHAIK SHABEENA\AppData\Local\Programs\Python\Python311\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
PS C:\Users\SHAIK SHABEENA>

i am getting this error how to fix this could you please help me in this regard its very urgent

from face_recognition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.