I tried to install opencv and python with port and brew.
but when i try import cv it says “module not found”.
i have the same problem on my windows machine and just no solution works.
is there a simple step by step solution for someone who does not know all the terminal codes?
im not really a good programmer but it would be awsome to get this working.
–edit–
got it working on Windows and Mac
Mac: First uninstalled Homebrew and MacPort
restarted, installed Macport again.
then :
sudo port install opencv +universal +python26
after that i just had to install numpy.
Win7
installed
python-2.7.2.msi
OpenCV-2.2.0-win32.exe
opencv-python-2.2.0.win32-py2.7.exe
numpy-1.6.0-win32-superpack-python2.7.exe
When using brew, try
brew info opencv, which explicitly tells you:The export thing should go into your shell config. You could put this into ~/.bashrc, but the truly system-wide setting would need to be set otherwise (try Setting environment variables in OS X?).
Or else, in your python script:
Then it should work.