sudo port -v install opencv +python26
It runs for about 10 minutes without errors.
I download ctypes-opencv source and demo files. I navigate to the
src directory and run:
sudo python setup.py install
I see like 50 lines almost all of the form:
copying ... -> ..., which looks good to me. No errors here.
export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib to the end of my
I open a new terminal to test my install. From my home folder:
$ python Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import cv Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named cv >>>
Does not work.
I read somewhere that opencv installs python bindings with the default version of python for OSX, and I am probably running a non-default version, but this is not actionable information to me.