how to import simple cv library in ipython?

asked 2016-10-02 14:08:10 -0600

Hi, I want to import the simple cv library in jupyter(ipython) environment. Windows 10 user. I have installed anaconda and opencv package. I can import cv2 library successfully.

I tried this from SimpleCV import * and i get this: (is this code correct?)

ImportError Traceback (most recent call last) <ipython-input-2-76dd5e04aeab> in <module>() ----> 1 from SimpleCV import *

C:\Anaconda2\lib\site-packages\ in <module>() 1 _version = '1.3.0' 2 ----> 3 from SimpleCV.base import * 4 from SimpleCV.Camera import * 5 from SimpleCV.Color import *

C:\Anaconda2\lib\site-packages\SimpleCV\ in <module>() 19 import colorsys 20 import logging ---> 21 import pygame as pg 22 import scipy.ndimage as ndimage 23 import scipy.stats.stats as sss #for auto white balance

ImportError: No module named pygame

edit retag flag offensive close merge delete