Re: imshow keeps crashhing

2016-01-07 Thread darren . mcaffee
I think I figured out the real problem, you can see my post here: http://stackoverflow.com/questions/34645512/scipy-imshow-conflict-with-el-capitan-sip-and-var-folders/34646093#34646093 Thanks again for helping to guide me in the right direction. --

Re: imshow keeps crashhing

2016-01-07 Thread Random832
On Wed, Jan 6, 2016, at 18:37, William Ray Wing wrote: > Is this a typo or did you really mean /private/vars? That is, did your > create a “vars” directory under /private at some point in the past > (pre-Yosemite)? The usual directory there would be /var > > In any case, the whole /private

Re: imshow keeps crashhing

2016-01-06 Thread John Gordon
In darren.mcaf...@gmail.com writes: > So scipy is making temporary files in > /private/vars/folders/w4// Are there any unusual characters in ? That's usually more of a Windows issue, but I'm grasping at straws here :-) > 1. When in the

Re: imshow keeps crashhing

2016-01-06 Thread William Ray Wing
> On Jan 6, 2016, at 6:10 PM, darren.mcaf...@gmail.com wrote: > > Thanks for the quick reply! > > So scipy is making temporary files in /private/vars/folders/w4/ name>/ Is this a typo or did you really mean /private/vars? That is, did your create a “vars” directory under /private at some

Re: imshow keeps crashhing

2016-01-06 Thread John Gordon
In darren.mcaf...@gmail.com writes: > Hi John, > I am on a mac and have set the following: > SCIPY_PIL_IMAGE_VIEWER=/Applications/Preview.app/Contents/MacOS/Preview > And when using imshow(), sure enough Preview attempts to open the fie,

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Thanks for the quick reply! So scipy is making temporary files in /private/vars/folders/w4// 1. When in the correct folder within Terminal, on the command line I can do: open And it will open it in Preivew. 2. However, when opening Preview first, it is impossible (for me) to navigate

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Thanks William and John, So the full path that scipy is using is: /private/var/folders/w4/wrnzszgd41d7064lx64nc10hgn/T/ I can't recall specifically adding the /var directory under /private. William - do you know how I can make scipy write temporary files in a non SIP folder? Thanks so

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Sorry you were right the path is in: /vars/folders not /private/var/folders. -- https://mail.python.org/mailman/listinfo/python-list

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Hi John, I am on a mac and have set the following: SCIPY_PIL_IMAGE_VIEWER=/Applications/Preview.app/Contents/MacOS/Preview And when using imshow(), sure enough Preview attempts to open the fie, but it throws the following error: The file "tmp1zuvo7wn.png" couldn't be opened because you don't

Re: imshow keeps crashhing

2015-12-22 Thread John Gordon
In norou...@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

imshow keeps crashhing

2015-12-22 Thread norouzey
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