Re: [sage-support] load or attach problem

2014-12-12 Thread Justin C. Walker
On Dec 12, 2014, at 10:19 , Bob Gman wrote: > It seems too simple to be a problem for me, but: > > sage: attach "/home/bgman/Documents/Python/prob2_1_29.sage" > File "", line 1 >attach "/home/bgman/Documents/Python/prob2_1_29.sage" > > and > > sage: load "/home/bgman/Documents/Python/prob

[sage-support] Re: Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread LouP
Thanks to both Nathan and kcrisman. I agree, put it in the FAQ. -- Lou Pecora -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googleg

[sage-support] Re: Cannot plot using Sage from a Python script using show().

2014-12-12 Thread LouP
Thank you, kcrisman. That worked perfectly. On Friday, December 12, 2014 11:15:56 AM UTC-5, LouP wrote: > > Runing Sage 6.4.1 on a MacBook Pro, OS X 10.9 (but the problems below > happen on all other Macs running 10.6 for example (with appropriate Sage > versions). > > I cannot plot from Sage t

Re: [sage-support] Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-12 Thread Jeroen Demeyer
On 2014-12-11 23:29, Kevin Conway wrote: Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11. Version of sagenb was 0.11.1. To reproduce, build Sage from source (e.g., ./make from Sage installation directory). What's your "tar --version"? -- You received this message because you are su

[sage-support] load or attach problem

2014-12-12 Thread Bob Gman
It seems too simple to be a problem for me, but: sage: attach "/home/bgman/Documents/Python/prob2_1_29.sage" File "", line 1 attach "/home/bgman/Documents/Python/prob2_1_29.sage" and sage: load "/home/bgman/Documents/Python/prob2_1_29.sage" File "", line 1 load "/home/bgman/Document

[sage-support] Re: Cannot plot using Sage from a Python script using show().

2014-12-12 Thread kcrisman
> I cannot plot from Sage to a window using a Python script, but I can in a > Sage session. If I use the code, > > adj= [[0,0,0,1],[0,0,0,1],[0,0,0,1],[1,1,1,0]] > > M = Matrix(Adjls) # Convert to Sage matrix > > D= Graph(M) > > D.show() > Hello! One possible workaround is to save the plots

[sage-support] Re: Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread kcrisman
http://trac.sagemath.org/ticket/17491 On Friday, December 12, 2014 12:41:41 PM UTC-5, kcrisman wrote: > > >> We don't include tcl/tk so our binary distribution doesn't include >>> tkinter / tkagg. If you have all build dependencies and compile from source >>> it should work. >>> >> >> Volker, >>

[sage-support] Re: Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread kcrisman
> > > We don't include tcl/tk so our binary distribution doesn't include tkinter >> / tkagg. If you have all build dependencies and compile from source it >> should work. >> > > Volker, > > Unlike Linux, the binary version of Sage on OS X comes with a working copy > of Tkinter, though not Tkagg

[sage-support] Re: Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-12 Thread kcrisman
> > > >>> I wonder if it's because of the bsd tar I used to tar it (I built that > >> don't you have 'gtar' on your machine too? > I have `gnutar`, I guess. Maybe that should be added to the release instructions as well... > >> Probably my tar is newer and thus the install can live wit

[sage-support] Re: Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread Nathan Dunfield
> We don't include tcl/tk so our binary distribution doesn't include tkinter > / tkagg. If you have all build dependencies and compile from source it > should work. > Volker, Unlike Linux, the binary version of Sage on OS X comes with a working copy of Tkinter, though not Tkagg. I think the

[sage-support] Re: Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread Nathan Dunfield
Lou, I wrote some notes on using the TkAgg backend with Sage which you can find here: https://bitbucket.org/nathan_dunfield/nplot There is no need to compile all of Sage from scratch just matplotlib and (sometimes) python itself. Best, Nathan -- You received this message because you are

[sage-support] Re: Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread Volker Braun
We don't include tcl/tk so our binary distribution doesn't include tkinter / tkagg. If you have all build dependencies and compile from source it should work. On Friday, December 12, 2014 4:07:40 PM UTC, LouP wrote: > > Runing Sage 6.4.1 on a MacBook Pro, OS X 10.9 (but the problems below > h

[sage-support] Cannot plot using Sage from a Python script using show().

2014-12-12 Thread LouP
Runing Sage 6.4.1 on a MacBook Pro, OS X 10.9 (but the problems below happen on all other Macs running 10.6 for example (with appropriate Sage versions). I cannot plot from Sage to a window using a Python script, but I can in a Sage session. If I use the code, adj= [[0,0,0,1],[0,0,0,1],[0,

[sage-support] Cannot plot using Sage from a Python script.

2014-12-12 Thread LouP
I cannot plot from Sage to a window using a Python script, but I can in a Sage session. If I use the code, adj= [[0,0,0,1],[0,0,0,1],[0,0,0,1],[1,1,1,0]] M = Matrix(Adjls) # Convert to Sage matrix D= Graph(M) D.show() in a Python script I do not get a plot from show(), although all the

[sage-support] Missing library for plotting with Matplotlib (Sage package) from a Python script

2014-12-12 Thread LouP
Runing Sage 6.4.1 on a MacBook Pro, OS X 10.9 (but the problems below happen on all other Macs running 10.6 for example (with appropriate Sage versions). I usually use Sage from a Python script. And I use the Python and packages/libraries provided in Sage. When using plotting calls in Mat

[sage-support] Re: Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-12 Thread Dima Pasechnik
On 2014-12-12, Dima Pasechnik wrote: > On 2014-12-12, Dima Pasechnik wrote: >> On 2014-12-12, kcrisman wrote: >>> --=_Part_154_1466710874.1418353858850 >>> Content-Type: multipart/alternative; >>> boundary="=_Part_155_44875405.1418353858850" >>> >>> --=_Part_155_44875405.1418353

[sage-support] Re: Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-12 Thread Dima Pasechnik
On 2014-12-12, Dima Pasechnik wrote: > On 2014-12-12, kcrisman wrote: >> --=_Part_154_1466710874.1418353858850 >> Content-Type: multipart/alternative; >> boundary="=_Part_155_44875405.1418353858850" >> >> --=_Part_155_44875405.1418353858850 >> Content-Type: text/plain; charset=U

[sage-support] Re: Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-12 Thread Dima Pasechnik
On 2014-12-12, kcrisman wrote: > --=_Part_154_1466710874.1418353858850 > Content-Type: multipart/alternative; > boundary="=_Part_155_44875405.1418353858850" > > --=_Part_155_44875405.1418353858850 > Content-Type: text/plain; charset=UTF-8 > > > >>Sage (6.4.1) notebook build