Closed
Description
pip command used to install - pip install opencv-python
----> 9 import cv2
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/init.py in
----> 5 from .cv2 import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/cv2.cpython-39-darwin.so, 2): Library not loaded: /opt/homebrew/opt/ffmpeg/lib/libavcodec.58.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cv2/cv2.cpython-39-darwin.so
Reason: image not found
Any help would be appreciated ?
Metadata
Metadata
Assignees
Labels
No labels