Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100742

imshow keeps crashhing

Newsgroups comp.lang.python
Date 2015-12-22 11:06 -0800
Message-ID <a7993a64-837e-4062-a856-d40acc35f208@googlegroups.com> (permalink)
Subject imshow keeps crashhing
From norouzey@gmail.com

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

imshow keeps crashhing norouzey@gmail.com - 2015-12-22 11:06 -0800
  Re: imshow keeps crashhing John Gordon <gordon@panix.com> - 2015-12-22 19:19 +0000
    Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 14:20 -0800
      Re: imshow keeps crashhing John Gordon <gordon@panix.com> - 2016-01-06 22:42 +0000
        Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 15:10 -0800
          Re: imshow keeps crashhing John Gordon <gordon@panix.com> - 2016-01-06 23:26 +0000
            Re: imshow keeps crashhing Random832 <random832@fastmail.com> - 2016-01-07 11:45 -0500
          Re: imshow keeps crashhing William Ray Wing <wrw@mac.com> - 2016-01-06 18:37 -0500
            Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 15:52 -0800
              Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-06 17:13 -0800
            Re: imshow keeps crashhing darren.mcaffee@gmail.com - 2016-01-07 08:23 -0800
          Re: imshow keeps crashhing Random832 <random832@fastmail.com> - 2016-01-07 11:49 -0500

csiph-web