I have been trying for days to install OpenCV, but keep coming across this error, when I try to import cv2 in python3. I am on Mac OS Sierra by the way
ImportError: dlopen(/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/cv2.cpython-36m-darwin.so, 2): Library not loaded: /usr/local/opt/libtiff/lib/libtiff.5.dylib Referenced from: /usr/local/Cellar/opencv/3.3.0_3/lib/libopencv_imgcodecs.3.3.dylib Reason: Incompatible library version: libopencv_imgcodecs.3.3.dylib requires version 8.0.0 or later, but libtiff.5.dylib provides version 6.0.0
If anyone knows the cause or how to fix it, I would be very much appreciative.