ageitgey / face_recognition

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

ModuleNotFoundError: No module named 'face_recognition' #1564

Open Victorvikson1996 opened 4 months ago

Victorvikson1996 commented 4 months ago

Description

Traceback (most recent call last): File "/Users/chukwuebuka/web/project2/backend/my_flask.py", line 3, in from face import recognize_faces File "/Users/chukwuebuka/web/project2/backend/face.py", line 1, in import face_recognition ModuleNotFoundError: No module named 'face_recognition'

What I Did

trying to run a python code where i used the face regonition library but I get this errors

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

Did you installed library by the pip?

Mr-Dark-debug commented 4 months ago

give me the commands that you ran.

facundo-cachan commented 3 months ago

I removed .venv, install again, executepip3 install --upgrade setuptools, and fix the issue.

Mr-Dark-debug commented 3 months ago

Ok

On Tue, 25 Jun 2024, 1:23 pm Facundo Cachan, @.***> wrote:

I removed .venv, install again, execute pip3 install --upgrade setuptools, and fix the issue.

— Reply to this email directly, view it on GitHub https://github.com/ageitgey/face_recognition/issues/1564#issuecomment-2188223011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPSFDEOAG64JT7VUCMUSRDZJEOXVAVCNFSM6AAAAABHQLBRMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGIZDGMBRGE . You are receiving this because you commented.Message ID: @.***>