Hi,

I'm using Ubuntu 16.04 and python 2.7.
I have manually installed spyder 2, which worked fine until I decided to 
upgrade it by using sudo pip install --upgrade spyder, which upgraded my 
setup to python 3.
I have defined a virtual environment cv to use with openCV. When I activate 
it, type "python" and then "import cv2" it loads the openCV package 
successfully.
However, when I type "spyder" in this environment and then try "import cv2" 
in spyder I get "ImportError: No module named cv2". I have tried to run the 
same command in a python console in spyder (rather than IPython) but the 
same error occurred.

Any ideas?

(I have upgraded from spyder 2 since its profiler couldn't load import the 
openCV packages "import cv2" while the main editor could.)

-- 
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 https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to