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


Groups > comp.lang.python > #100742

imshow keeps crashhing

X-Received by 10.129.116.65 with SMTP id p62mr22807498ywc.42.1450811177412; Tue, 22 Dec 2015 11:06:17 -0800 (PST)
X-Received by 10.50.43.168 with SMTP id x8mr422939igl.0.1450811177382; Tue, 22 Dec 2015 11:06:17 -0800 (PST)
Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!6no235136qgy.0!news-out.google.com!l1ni11328igd.0!nntp.google.com!mv3no14491884igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Tue, 22 Dec 2015 11:06:17 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=24.86.208.112; posting-account=RxwBzwoAAADL1xY2MdNyGfiRVMNg0ik4
NNTP-Posting-Host 24.86.208.112
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a7993a64-837e-4062-a856-d40acc35f208@googlegroups.com> (permalink)
Subject imshow keeps crashhing
From norouzey@gmail.com
Injection-Date Tue, 22 Dec 2015 19:06:17 +0000
Content-Type text/plain; charset=ISO-8859-1
Lines 24
Xref csiph.com comp.lang.python:100742

Show key headers only | 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