Closed LukyVj closed 9 years ago
As per your error message it looks like libpng needs to be upgraded to v 35.0.0. I'm not sure how to do this on Mac.
Try googling the "Reason:" line. Or Googling for "update libpng mac".
http://stackoverflow.com/questions/28124359/error-with-homebrew-opencv-libpng
this link may give you some hints
I do like this: brew uninstall libpng sudo brew upgrade if some errors occur, you may need to retry
then brew install libpng It works for me
I have tried to reinstall the libpng and upgrade to version: 1.6.19 under MacOS
The error still occurs: ImportError: dlopen(./cv2.so, 2): Library not loaded: /usr/local/lib/libpng16.16.dylib Referenced from: /usr/local/Cellar/opencv/2.4.12/lib/libopencv_highgui.2.4.dylib Reason: Incompatible library version: libopencv_highgui.2.4.dylib requires version 35.0.0 or later, but libpng16.16.dylib provides version 34.0.0
I have the same problem: ImportError Traceback (most recent call last)
These are issues with the mac libraries. I don't have a mac so I'm unable to provide additional help. I recommend looking into the cv2 libraries on mac
Hi, I tried to run your wonderful project, but once I run
python slouchy.py
I got this error message :Not really sure how I should fix this.