albus_c albus_c - 1 year ago 112
Python Question

Anaconda doesn't find module cv2

I am using Anaconda on OS X Mavericks. When I try loading

I get an import error (see below). Do you know how to fix this?

>>import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/usr/local/Cellar/opencv/,
2): Library not loaded: /usr/local/lib/libpng15.15.dylib
Referenced from: /usr/local/Cellar/opencv/
Reason: image not found

I am not sure it's relevant, but in
I have
instead of

Answer Source

This is the solution I found: