Can't run Face Recognition on Apple Silicon M1
See original GitHub issue- face_recognition version: 1.3.0
- Python version: 3.8.10
- Operating System: macOS 12.1
Description
Can’t run Face Recognition on Apple Silicon based Mac
What I Did
After installing face recognition using pip3 and running face_recognition
I get the following error message
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/face_recognition", line 5, in <module>
from face_recognition.face_recognition_cli import main
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/face_recognition/__init__.py", line 7, in <module>
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/face_recognition/api.py", line 4, in <module>
import dlib
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dlib/__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/_dlib_pybind11.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_png_do_expand_palette_rgb8_neon'
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
If Face ID isn't working on your iPhone or iPad Pro
Check your Face ID settings. To check your Face ID settings, go to Settings, then tap Face ID & Passcode. Make sure that...
Read more >Technology to Embed Face ID into MacBook Displays 'Doesn't ...
Apple's first Mac with Face ID is unlikely to be a MacBook because the technology ... Face ID was in the cards for...
Read more >MacBook Pro Face ID missing from the notch for a good reason
Microsoft's facial recognition tech fits into laptop lids, doesn't it? Well, yes. And no. It does fit into some laptop lids. But if...
Read more >Can't able to install RHEL 8.3 ARM 64 on MAC with Apple ...
Can't able to install RHEL 8.3 ARM 64 on MAC with Apple Silicon (M1) Processor Based on one of the other forum discussions,...
Read more >Premiere Pro for Apple Silicon, and Big Sur | macOS 11
Premiere Pro now runs natively on Apple computers with the Apple silicon M1 chip with average speed gains around 80% compared with similarly ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@M4Marvin try installing python 3.8, then it will work fine, you just have to degrade the python version because of which you are getting error.
This method did not work for me, I tried setting up a Conda environment with Python 3.10.4. It is showing me the same error.