[ros-users] crash importing opencv on mac python

Brian Gerkey gerkey at willowgarage.com
Mon May 10 14:55:52 UTC 2010


On Sun, May 9, 2010 at 8:41 PM, Dan Lazewatsky
<lazewatskyd at cse.wustl.edu> wrote:
> I've been having some trouble using the python bindings that build
> with the version of OpenCV included with ROS. When I try to import cv,
> I get the following error:
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Abort trap
>
> which I would assume has something to do with me using python 2.6.4
> instead of the system version. Does anyone know how to fix this?

I would guess that you built the bindings against a different version
of Python from the one that you're trying to import with.  Perhaps
OpenCV found the system install of Python during its build.

	brian.



More information about the ros-users mailing list