Ask Your Question

Installation Errors Everywhere

asked 2012-10-25 22:13:48 -0500

Jaxzen gravatar image

updated 2012-10-30 15:56:06 -0500

I have been attempting to install SimpleCV for two days now. I'm not computer illiterate, and I've run out of ideas/googling is coming up with nothing.

I tried the superpack, and whenever I would instantiate an image to show it would crash "Not responding"... I never actually saw anything but a black dialog box. However, I could get it to save live images to a snapshot folder... I just never saw that image.

So, I uninstalled everything and began following this: for Windows 7.

Got everything working (even the environment variables and installed) and Pygame refuses to cooperate. I get errors that Pygame isn't found. I reinstalled pygame using pip, easy_install, manually, several times. Now, instead of that I get this error:

C:\Users\Matt>CD C:/Python27/Scripts

C:\Python27\Scripts>simplecv Traceback (most recent call last): File "C:\Python27\Scripts\", line 8, in <module> loadentrypoint('SimpleCV==1.3', 'consolescripts', 'simplecv')() File "C:\Python27\lib\site-packages\", line 318, in loadentry _point return getdistribution(dist).loadentrypoint(group, name) File "C:\Python27\lib\site-packages\", line 2221, in loadentr ypoint return ep.load() File "C:\Python27\lib\site-packages\", line 1954, in load entry = import(self.modulename, globals(),globals(), ['name']) File "C:\Python27\lib\site-packages\", line 3, in <module>

from SimpleCV.base import *

File "C:\Python27\lib\site-packages\SimpleCV\", line 214, in <module> import IPython File "C:\Python27\lib\site-packages\", line 43, in <module>

from .config.loader import Config

File "C:\Python27\lib\site-packages\IPython\", line 16, in < module> from .application import * File "C:\Python27\lib\site-packages\IPython\config\", line 29, i n <module> from IPython.external.decorator import decorator File "C:\Python27\lib\site-packages\IPython\external\", l ine 4, in <module> from ._decorator import * File "C:\Python27\lib\site-packages\IPython\external\", line 165 print('Error in generated code:', file=sys.stderr) ^ SyntaxError: invalid syntax


I can't even get into any form of GUI/notebook/anything. I'm uninstalling and reinstalling the superpack now. Help?


Reinstalled from superpack and ingenuitas's github walkthrought. Same results, a new error: >>> from SimpleCV import Image

Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> from SimpleCV import Image File "C:\Python27\lib\site-packages\", line 3, in <module> from SimpleCV.base import * File "C:\Python27\lib\site-packages\SimpleCV\", line 59, in <module> raise ImportError("Cannot load OpenCV library which is required by SimpleCV") ImportError: Cannot load OpenCV library which is required by SimpleCV

I can't even get to the workarounds and things because of this. What do you guys think?

edit retag flag offensive close merge delete


Are you sure OpenCV2.3 installed? C:\OpenCV2.3 exist? If so then make sure you have system path setup correctly: SETX PATH C:/Python27/;C:/Python27/Scripts/;C:/OpenCV2.3/opencv/build/x86/vc10/bin/;%PATH% SETX PYTHONPATH C:/OpenCV2.3/opencv/build/python/2.7/;%PYTHONPATH%

xamox gravatar imagexamox ( 2012-11-01 09:42:33 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2012-10-26 08:09:12 -0500

xamox gravatar image

Sorry to hear you are having issues. We are in the works of pushing everything to the browser but that will take some time. We choose pygame because we wanted something that was cross platform, and although it works fine on our test machines, we all primarily develop in linux. A few proposed solutions I have are:

from SimpleCV import JpegStreamer, Image
img = Image('your_img.png')
streamer = JpegStreamer()

Then open your browser to http://localhost:8080, you will have to manually refresh the page every time you save the image, I know this is a pain but it's the only work around solution for now until we have browser side rendering seamless. We try and test on as many systems as we can but they don't always work once they get into the wild as we have found.

edit flag offensive delete link more

answered 2012-10-26 07:25:26 -0500

marco619 gravatar image

Hmmm, may be this can help you :

simple cv on windows 7

And try to run this code in the command line :

from SimpleCV import Camera, Display, Image

cam = Camera()
disp = Display()

while( disp.isNotDone() ):
 img = cam.getImage() disp )

If you see any error on the code of adobe, then report us. Greats.

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: 2012-10-25 22:13:48 -0500

Seen: 2,059 times

Last updated: Oct 30 '12