Hi Daniel,
Probably the best way to do what you want is to change your python
interpreter instead of PYTHONPATH. To do it, you have to go to
Tools > Preferences > Console > Advanced Settings > Python executable
and use the button to the right to select the interpreter where you
installed OpenCV (which seems to be your system's python).
The reason is OpenCV is a shared library which surely is linked against
the python version where it is installed.
Cheers,
Carlos
El 16/09/12 13:28, Daniel escribió:
> Hi,
>
> first of all thanks for the new Mac OS X installer it works totally
> fine for me on 10.8 Mountain Lion.
>
> But i just can't manage to import the openCV module. I added the
> directory of the cv2.so file to the PYTHONPATH, but each time when i
> try " import cv2 " spyder crashes.
> If I use the system's built-in python2.7 distribution it works.
>
> Do you have any advise how to handle this problem?
>
> Thanks in advance,
> Daniel
> --
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/spyderlib/-/xvjBECbqiPgJ.
> To post to this group, send email to
spyd...@googlegroups.com.
> To unsubscribe from this group, send email to
>
spyderlib+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/spyderlib?hl=en.