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\", line 2022, in save
      File "C:\Python27\lib\site-packages\IPython\core\", line 480, in __init__
        super(Image, self).__init__(data=data, url=url, filename=filename)
      File "C:\Python27\lib\site-packages\IPython\core\", line 265, in __init__
      File "C:\Python27\lib\site-packages\IPython\core\", line 485, in reload
      File "C:\Python27\lib\site-packages\IPython\core\", 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.