Hello everyone,

Can anyone please help me with "imshow"? I have tried "imshow" on different 
computers and different Python consoles but it does not work. Here are the code 
and the error message:

import scipy.misc as mi
img = mi.imread('C:\images\circles.png')
mi.imshow(img)

'see' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"C:\...\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py",
 line 699, in runfile
    execfile(filename, namespace)
  File 
"C:\...\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py",
 line 74, in execfile
    exec(compile(scripttext, filename, 'exec'), glob, loc)
  File "C:/.../.spyder2/temp.py", line 11, in <module>
    mi.imshow(img)
  File "C:\...\Anaconda2\lib\site-packages\scipy\misc\pilutil.py", line 389, in 
imshow
    raise RuntimeError('Could not execute image viewer.')
RuntimeError: Could not execute image viewer.

Thanks a lot for your time.

Ahmad
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to