Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installation #1547

Open
SATHISHK108 opened this issue Jan 7, 2024 · 6 comments
Open

Windows installation #1547

SATHISHK108 opened this issue Jan 7, 2024 · 6 comments

Comments

@SATHISHK108
Copy link

  • face_recognition version: 1.3.0
  • Python version: 3.12
  • Operating System: windows 11

I trying to built face recognition application, I had successfully installed opencv-python, dlib, face_recognition libraries but after this when I tried to run the file I was asked to install the face_recognition_models and I did that to even after I was repeatedly ask to do the same,

(venv) PS D:\sathish\face_recognition> python main.py
Please install face_recognition_models with this command before using face_recognition:

pip install git+https://github.com/ageitgey/face_recognition_models

if I put pip show face_recognition it show the information as below

Name: face-recognition
Version: 1.3.0
Summary: Recognize faces from Python or from the command line
Home-page: https://github.com/ageitgey/face_recognition
Author: Adam Geitgey
Author-email: ageitgey@gmail.com
License: MIT license
Location: D:\sathish\face_recognition\venv\Lib\site-packages
Requires: Click, dlib, face-recognition-models, numpy, Pillow
Required-by:

why I am repeatedly asking to do the installation, please suggest any solution.

Thanks...

@noobmaster69
Copy link

it took me awhile to find out the solution but all you have to do is install the pkg_resources : pip install --upgrade setuptools

@Butterbrot234
Copy link

i have the same error did you find a solution?

@noobmaster69
Copy link

i have the same error did you find a solution?

pip install --upgrade setuptools

@SATHISHK108
Copy link
Author

i have the same error did you find a solution?

I used python 3.10.0 and installed face-recognition, opencv-python, this worked for me.

@Butterbrot234
Copy link

i have the same error did you find a solution?

I used python 3.10.0 and installed face-recognition, opencv-python, this worked for me.

thanks now it works

@misskiran
Copy link

Well , the command : pip install --upgrade setuptools works. Also , the considering the author You used , I would recommend to use Pycharm ide .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants