You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
face_recognition require libavdevice.59.dylib but on my mac is libavdevice.60.dylib
What I Did
I installed face_recognition with this command
python3 -m pip install face_recognition
and the installation was a success.
When I run python code, the error happens
Exception has occurred: ImportError
dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_dlib_pybind11.cpython-311-darwin.so, 0x0002): Library not loaded: '/usr/local/opt/ffmpeg/lib/libavdevice.59.dylib'
Referenced from: '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_dlib_pybind11.cpython-311-darwin.so'
Reason: tried: '/usr/local/opt/ffmpeg/lib/libavdevice.59.dylib' (no such file), '/usr/lib/libavdevice.59.dylib' (no such file), '/usr/local/Cellar/ffmpeg/6.0_1/lib/libavdevice.59.dylib' (no such file), '/usr/lib/libavdevice.59.dylib' (no such file)
File "/Users/nthoang/git/python/e-camera/esp32_camera.py", line 1, in <module>
import face_recognition
File "/Users/nthoang/git/python/e-camera/e-camera.py", line 10, in <module>
from esp32_camera import EEsp32Camera
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_dlib_pybind11.cpython-311-darwin.so, 0x0002): Library not loaded: '/usr/local/opt/ffmpeg/lib/libavdevice.59.dylib'
Referenced from:
<img width="937" alt="Screen Shot 2023-09-24 at 12 14 16" src="https://github.com/ageitgey/face_recognition/assets/99200180/a303abcf-a6ce-418c-9091-b7c1cfbdd27d">
The text was updated successfully, but these errors were encountered:
Description
face_recognition require libavdevice.59.dylib but on my mac is libavdevice.60.dylib
What I Did
The text was updated successfully, but these errors were encountered: