Path: csiph.com!au2pb.net!feeder.erje.net!2.us.feeder.erje.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!newsfeed-00.mathworks.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: imshow keeps crashhing Date: Tue, 22 Dec 2015 19:19:45 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 26 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1450811985 1290 166.84.1.3 (22 Dec 2015 19:19:45 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 22 Dec 2015 19:19:45 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:100743 In norouzey@gmail.com writes: > 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. scipy calls an external image viewer program to display the image. The name of this program is stored in the environment variable SCIPY_PIL_IMAGE_VIEWER. If that variable is not present, it uses 'see' by default. Do you have a suitable image viewing program installed on your computer? If so, try setting the SCIPY_PIL_IMAGE_VIEWER environment variable to the name of that program. -- John Gordon A is for Amy, who fell down the stairs gordon@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"