Although I do not have an exact answer to your question, I believe that I have a solution to your problem. Coincidence I struggled yesterday with installing OpenCV on my mac as well. I finally just did this by installing python and opencv using macports. This way you don't have opencv in the enthought distribution, but you can just install all the packages you use in enthought distro using macports.
So just install macports from this page: http://www.macports.org/install.php
Then do:
sudo port install python27
and, of course, you can install any other packages you need:
sudo port install py27-scipy sudo port install py27-ipython etc.
Finally, you must make sure that when you type "python" at the command line, this refers to the version you installed using macports. You can do this by editing your ~ / .bash_profile file as follows:
sudo open -t ~/.bash_profile
Once it opens, just look for links to other python distributions. Most likely you have a link to your version of Enthough. Comment on all other python versions and add the following line:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
This should do the trick: having opencv working with python, while still having all the scientific modules you like.
Hooray!
kramer65
source share