Reputation: 535
I believe I finally installed OpenCV using the following command.
conda install -c anaconda opencv
it seems I can load opencv in python3
however, when I try to import this in ipython or jupyter, I get the following:
ImportError Traceback (most recent call last)
<ipython-input-1-72fbbcfe2587> in <module>()
----> 1 import cv2
ImportError: dlopen(/Users/mycomputer/anaconda/lib/python3.6/site-packages/cv2.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libintl.8.dylib Referenced from: /Users/mycomputer/anaconda/lib/libharfbuzz.0.dylib Reason: image not found
Upvotes: 3
Views: 1230
Reputation: 1384
By run this command:pip install opencv-python
, I fixed this issue.
Upvotes: 1