Siva Prasad Varma
unread,May 11, 2012, 4:59:36 AM5/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simp...@googlegroups.com
I have installed SimpleCV 1.2 on Ubuntu 12.04. I think the installation did not go well even though I didnot get any warnings or errors.
But when I tried to do something I am getting the following errors
SimpleCV:1> im = Image("simplecv")
---------------------------------------------------------------------------
IOError Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/SimpleCV-1.2-py2.7.egg/SimpleCV/Shell/Shell.pyc in <module>()
----> 1 im = Image("simplecv")
/usr/local/lib/python2.7/dist-packages/SimpleCV-1.2-py2.7.egg/SimpleCV/ImageClass.pyc in __init__(self, source, camera, colorSpace, verbose)
644 self._bitmap = cv.LoadImage(self.filename, iscolor=cv.CV_LOAD_IMAGE_COLOR)
645 except:
--> 646 self._pil = pil.open(self.filename).convert("RGB")
647 self._bitmap = cv.CreateImageHeader(self._pil.size, cv.IPL_DEPTH_8U, 3)
648 cv.SetData(self._bitmap, self._pil.tostring())
/usr/lib/python2.7/dist-packages/PIL/Image.pyc in open(fp, mode)
1950 import __builtin__
1951 filename = fp
-> 1952 fp = __builtin__.open(fp, "rb")
1953 else:
1954 filename = ""
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/SimpleCV-1.2-py2.7.egg/SimpleCV/sampleimages/simplecv.png'
Please tell me how to resolve this error.
SPV