1
我用自制軟件安裝了opencv。我收到以下錯誤 -Python:導入OpenCV時出錯
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/cv2.so, 2): Library not loaded: /usr/local/lib/libpng16.16.dylib
Referenced from: /usr/local/Cellar/opencv/2.4.11_1/lib/libopencv_highgui.2.4.dylib
Reason: Incompatible library version: libopencv_highgui.2.4.dylib requires version 34.0.0 or later, but libpng16.16.dylib provides version 33.0.0
如何解決此問題?
可能重複? http://stackoverflow.com/questions/28124359/error-with-homebrew-opencv-libpng – GPPK