ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
53.44k stars 13.49k forks source link

I need help with face_recognition #1476

Open Xardesso opened 1 year ago

Xardesso commented 1 year ago

Description

I paste piece of code from web and this work and I exit py charm and 1 hour later I want to continue work and this stop working Idk what may cause this error

Error: image

meowmeow123221 commented 1 year ago

This error message is probably due to the face_recognition library not being installed yet. Alternatively, you can use a command to check if the face_recognition library has already been installed.

pip list This command can see what library has already been installed in your environment.

yxsh16 commented 1 year ago

The version of Python you are using may not be supported by the library, Try lowering your python version to 3.8 This might help. Also run pip install face-recognition command to make sure the library is installed. You can check the installed version of the library by using the command in your terminal : face-recognition.__version__ or pip show face-recognition to see the complete information about the library.

leomm20 commented 1 year ago

The IDE is telling you that you don't have face-recognition installed:

image

So, run this command in the Terminal: pip install face-recognition

P.S.: pls, close the issue if it's ok!