You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
I was trying to install face_recognition using pip install.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
pip install face-recognition
Collecting face-recognition
Using cached face_recognition-1.3.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: face-recognition-models>=0.3.0 in c:\users\rajra\appdata\local\programs\python\python310\lib\site-packages (from face-recognition) (0.3.0)
Collecting dlib>=19.7
Using cached dlib-19.24.0.tar.gz (3.2 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\rajra\appdata\local\programs\python\python310\lib\site-packages (from face-recognition) (1.22.2)
Requirement already satisfied: Pillow in c:\users\rajra\appdata\local\programs\python\python310\lib\site-packages (from face-recognition) (9.2.0)
Requirement already satisfied: Click>=6.0 in c:\users\rajra\appdata\local\programs\python\python310\lib\site-packages (from face-recognition) (8.1.3)
Requirement already satisfied: colorama in c:\users\rajra\appdata\local\programs\python\python310\lib\site-packages (from Click>=6.0->face-recognition) (0.4.4)
Using legacy 'setup.py install' for dlib, since package 'wheel' is not installed.
Installing collected packages: dlib, face-recognition
Running setup.py install for dlib ... error
error: subprocess-exited-with-error
× Running setup.py install for dlib did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
running install
running build
running build_py
package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
running build_ext
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: 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.
[notice] A new release of pip available: 22.2 -> 22.2.2
[notice] To update, run: python.exe -m pip install --upgrade pip
PS C:\Users\rajra\Downloads\source-code-face-recognition\source code>
The text was updated successfully, but these errors were encountered:
Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
I was trying to install face_recognition using pip install.
What I Did
The text was updated successfully, but these errors were encountered: