ageitgey / ageitgey/face_recognition

runtime error while installing face_recognition

Open
#810 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
56.8k
Forks
13.7k
PR merge metrics
No merged PRs in 30d

Description

RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-j58a00w_/dlib/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-n91afmsp-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-j58a00w_/dlib/

I have tried to install face_recognition package in VMWARE Ubuntu16.04 but this is error Iam facing while installing.
I have tried installing it in VMWARE ubuntu 18.04 also..but iam facing the same error...

can I get the exact solution and steps in installing face_recognition package in VMWARE ubuntu and also in windows(windows is also facing the same problem in installing face_recognition library)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the face_recognition installation failure on the Ubuntu 16.04/18.04 and Windows environments mentioned, focusing on the dlib build error that reports missing CMake. Determine whether the project’s installation guidance needs to document reliable steps for these environments, and consider the work done when those steps are verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.