Git Product home page Git Product logo

Comments (4)

Steelshanks avatar Steelshanks commented on August 16, 2024 1

In Pycharm click on File => Settings => Expand Project: YourProject, click on Python Interpreter. This should show all packages that are installed for this project (such as cv2, numpy, face-recognition, face_recognition_models, etc.). If you don't see them, click on the + symbol in the upper left corner of the Python Packages tool window and add all the packages you need for your project. If the packages are all there and you are still getting the error, try installing the package "setuptools" in addition to the other packages. This is what worked for me.

from face_recognition_models.

LookslikeLenni avatar LookslikeLenni commented on August 16, 2024

I cant anymore, reinstalled and restarted everthing like 10 times now.

PS C:\Users\lenna\OneDrive\Dokumente\Obsidian\Uni\06_Sem\SWP\Vue+Backend\datenschutz-adieu-gesichtserkennung> python test_script.py
**Please install face_recognition_models with this command before using face_recognition:

pip install git+https://github.com/ageitgey/face_recognition_models**
PS C:\Users\lenna\OneDrive\Dokumente\Obsidian\Uni\06_Sem\SWP\Vue+Backend\datenschutz-adieu-gesichtserkennung> pip install git+https://github.com/ageitgey/face_recognition_models
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/ageitgey/face_recognition_models
Cloning https://github.com/ageitgey/face_recognition_models to c:\users\lenna\appdata\local\temp\pip-req-build-9enqmvh_
Running command git clone --filter=blob:none --quiet https://github.com/ageitgey/face_recognition_models 'C:\Users\lenna\AppData\Local\Temp\pip-req-build-9enqmvh_'
Resolved https://github.com/ageitgey/face_recognition_models to commit e67de71
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
PS C:\Users\lenna\OneDrive\Dokumente\Obsidian\Uni\06_Sem\SWP\Vue+Backend\datenschutz-adieu-gesichtserkennung> pip install face_recognition
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: face_recognition in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (1.3.0)
Requirement already satisfied: face-recognition-models>=0.3.0 in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from face_recognition) (0.3.0)
Requirement already satisfied: Click>=6.0 in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from face_recognition) (8.1.7)
Requirement already satisfied: dlib>=19.7 in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from face_recognition) (19.24.4)
Requirement already satisfied: numpy in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from face_recognition) (1.26.4)
Requirement already satisfied: Pillow in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from face_recognition) (10.3.0)
Requirement already satisfied: colorama in c:\users\lenna\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from Click>=6.0->face_recognition) (0.4.6)
PS C:\Users\lenna\OneDrive\Dokumente\Obsidian\Uni\06_Sem\SWP\Vue+Backend\datenschutz-adieu-gesichtserkennung> python test_script.py
**Please install face_recognition_models with this command before using face_recognition:

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

Edit 15/05/2024:
I got it now, make sure have installed cmake via pip, or check if the env var is set right...

from face_recognition_models.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.