I spent the last couple of days trying to get opencv to work with my Python 2.7 installation. I was always mistaken in saying that the opencv module was not found when I try to "import cv".
Then I decided to try installing opencv using Macports, but that didn't work.
Then I tried Homebrew, but that didn't work either.
In the end, I found that I should change PYTHONPATH as such: export PYTHONPATH = "/usr/local/lib/python2.6/site-packages/: $ PYTHONPATH"
My problem is that I did not find / usr / local / lib / python 2. * ... etc The folder just doesn't exist
So my question is: How do I properly install Python on OS X Snow Leopard so that it works with opencv?
Thank you very much,
source share