Comments (4)
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.
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)
- shape_predictor_68_face_landmarks.dat.bz2 is not CC0 licensed
- Bad CRC-32 for shape_predictor_68_face_landmarks.dat
- Regarding Dataset On which FR models created
- Cannot import Facerecognition on Pycharm
- Slow feedforward computing time for dlib_face_recognition_resnet_model_v1? HOT 1
- Network HOT 1
- Methods available in face_recognition_models HOT 1
- module 'face_recognition_models' has no attribute 'face_locations' HOT 9
- How to train the models on our datasets
- When running on a CPU-only Google Colab kernel, no CUDA-capable device is detected HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from face_recognition_models.