Hi,

Basic problem: Spyder-Py2 2.3.3 running can't import cv (commonly known as 
opencv). When I attempt to "import cv" (or cv2) in a python console, the 
console doesn't throw an error but just becomes unresponsive. When I 
attempt to "import cv" in the ipython console, I get 
"It seems the kernel died unexpectedly. Use 'Restart kernel' to continue 
using this console."
repeatedly.

Please note this is after I have added 
/usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages to PYTHONPATH 
using PYTHONPATH manager. If I don't do that, the error simply says the 
module isn't recognized.

However, in the terminal (OSX 10.9.4) I am able to import cv and use it 
just fine. Spyder was installed as a .dmg and opencv was installed using 
Homebrew. Each has been installed and reinstalled a number of times so the 
order of installation is probably not the problem.

I am pretty sure that terminal and Spyder are using different python 
sources. In the terminal, "which python" returns /usr/local/bin/python. 
However, by inspecting sys.version and sys.maxint, you can see both are 
Python 2.7.8 and 64bit.

The *only* difference I can find is that in the terminal I get:

[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin

Whereas in spyder I get 

'2.7.8 (default, Aug 15 2014, 13:43:01) \n[GCC 4.2.1 Compatible Apple Clang 
3.1 (tags/Apple/clang-318.0.61)]'
when i use sys.version.

Please. Any help would be very much appreciated.
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to