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
By run this command:pip install opencv-python, I fixed this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With