OSX Issues

It is important to note that the Python headers shipped with OSX 10.5 and 10.6 are 64-bit only. Compiling libraries in c or c++ which will be imported in python (including opencv) must be compiled for a 64-bit architecture. On an Intel MacBook, this means compiling with -arch x86_64
macports is a handy package management tool for OSX. See Macports for more information.