Ask Your Question

Revision history [back]

  1. I tried your first code from idle (along with import) and it gave me this error.

    Traceback (most recent call last):
      File "<module1>", line 4, in <module>
      File "C:\Python27\lib\site-packages\SimpleCV\ImageClass.py", line 2022, in save
        Idisplay.display(IPImage(filename=loc))
      File "C:\Python27\lib\site-packages\IPython\core\display.py", line 480, in __init__
        super(Image, self).__init__(data=data, url=url, filename=filename)
      File "C:\Python27\lib\site-packages\IPython\core\display.py", line 265, in __init__
        self.reload()
      File "C:\Python27\lib\site-packages\IPython\core\display.py", line 485, in reload
        super(Image,self).reload()
      File "C:\Python27\lib\site-packages\IPython\core\display.py", line 270, in reload
        with open(self.filename, self._read_flags) as f:
    IOError: [Errno 22] invalid mode ('rb') or filename: u'/tmp/e:\\temp\\tmpggb8wk.png'
    

    I think there might be some problem with custom temp locations because the file location in the error message looks weird (my temp location is E:\Temp).

  2. Yes, all the time I was starting Simplecv notebook from cmd like that. And I was also trying to load single images only.