skip to Main Content

MacOS Catalina python version 3.8.2

Using opencv for real time face detection I tried.

'from simple_facerec import SimpleFacerec'

returns : no module named 'simple_facerec'

I tried pip3 install cmake –> pip3 install dlib –> pip3 install face_recognition to no avail.

Any suggestions would be highly appreciated.

2

Answers


  1. I guess this part pip3 install cmake --> pip3 install dlib doesn’t seem to be correct.

    You need to follow the documentation:

    First, make sure you have dlib already installed with Python bindings.

    And then:

    pip3 install face_recognition
    

    Check out the source for installation.

    Login or Signup to reply.
  2. It would be better to show what results you got from using the command in question, whether the installation was successful, and what the error message is.

    You can try to install the face_recognition package using the python3 -m pip install face-recognition command.

    If the package is already installed in one of your environments, use Ctrl+Shift+P –> Python:Select Interpreter to switch the correct interpreter.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search