Ask Your Question

Error in simplecv first example

asked 2013-01-05 23:52:34 -0500

sujan gravatar image

updated 2013-01-07 02:44:09 -0500

jayrambhia gravatar image

Once I installed simplecv in windows I create my first example called in python shell. I got an error like this

Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module> from SimpleCV import Camera, Display, Image ImportError: No module named SimpleCV


My example code was :

from SimpleCV import Camera, Display,Image
# Initialize the camera
cam = Camera() 
# Initialize the display
display = Display()
# Snap a picture using the camera
img = cam.getImage() 
# Show the picture on the screen

Pleae help me to solve this error. Im a new comer to simplecv. Thank you.

edit retag flag offensive close merge delete


Clean your windows registry with CCleaner and reinstall the SImpleCV Framework. this help me a lot. :D

marco619 gravatar imagemarco619 ( 2013-01-11 06:45:29 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-01-07 21:45:55 -0500

sujan gravatar image

I did this steps 1 download simplecv 1.3 msi file 2 run msi file 3 Then It creates simplecv directory with numpy opencv pygame python scipy setuptool

5 I run installbatch file Then it install all above as step by step. Then I put environment variable as C:/Python27/;C:/Python27/Scripts/;C:opencv/build/x86/vc10/bin/;%PATH%;

What was my mistake ?

edit flag offensive delete link more

answered 2013-01-11 15:37:44 -0500

mikecruz79 gravatar image

updated 2013-01-11 15:38:11 -0500

I had a similar issue looks like you are missing the environment variable PYTHONPATH something like the following depending on your install location

PYTHONPATH C:/OpenCV2.3/opencv/build/python/2.7/;%PYTHONPATH%

Also it looks like you are missing a "\" in your PATH enviroment variable


should be


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-05 23:52:34 -0500

Seen: 1,598 times

Last updated: Jan 11 '13