Re: [sage-support] Using SageMath app online and saving worksheets?

2021-11-09 Thread LouP
https://www.sagemath.org/download.html). > Under Windows your files are stored into c:\user\yourname\... > > -- > *De: *"LouP" > *À: *"sage-support" > *Envoyé: *Mardi 9 Novembre 2021 14:59:00 > *Objet: *[sage-support] Using SageM

[sage-support] Using SageMath app online and saving worksheets?

2021-11-09 Thread LouP
After Googling and checking the resources suggested I have not found answers to two simple questions about SageMath: (1) Can I run this offline? (2) Where are my worksheets stored and can I back them up? Thanks for any hints. -- Lou Pecora -- You received this message because you are subscri

[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 can

[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

Re: [sage-support] Problems getting Sage 6.2 & Python (matplotlib) to plot

2014-07-02 Thread LouP
Hi, Jim, Thanks for the reply. I tried your suggestions (below), but I am having trouble running from a script, not the Sage or iPython interface for which TKAgg works fine. As for the script trials I did, #1 doesn't work for either pylab plot or D.show() (a Sage Graph plot). #2 is not releva

[sage-support] Problems getting Sage 6.2 & Python (matplotlib) to plot

2014-07-02 Thread LouP
I am having problems with matplotlib, Sage plotting and, apparently, backends. I have installed Sage 6.2 on my Mac Book Pro (system 10.6) (I just upgraded from Sage 4.2). I have removed all copies of matplotlibrc from my computer except for the file buried in Sage-6.2/.../mpl_data/. All cho

[sage-support] Solution: How to get Apple (Aqua) interface instead of X11 for Tk calls on Mac OS X.

2011-01-25 Thread LouP
If you're getting X11 windows and dialogs instead of Apple's Aqua interface, you probably have non-Apple Tcl and Tk Frameworks installed. To solve the problem you can just remove the non-Apple Tcl & Tk frameworks and reinstall SAGE. SAGE will pick up the Apple Tcl & Tk frameworks and thereafter u

[sage-support] Re: Problem: X11 dialogs and plots are used instead of Native Mac OS X GUI items

2011-01-25 Thread LouP
> I'd ask on the (Mac)Python lists to see if anyone knows how to compile > Python to get the native tk dialogs instead of X11. > > - Robert I did that, Robert, and I've posted the solution in a separate thread on this support group. Thanks for your help. I give you credit in my post. -- Lou Pe

[sage-support] How to install a Mac version of SAGE?

2011-01-22 Thread LouP
I have an installation of SAGE (from source) on my Mac laptop in which using the tcl/tk library to plot (using TKAgg backend) or call tk file open/save dialogs calls the X11 versions and not the native Mac versions of dialogs and windows. I want to get the Mac versions. I posted about this on thi

[sage-support] Re: Problem: X11 dialogs and plots are used instead of Native Mac OS X GUI items

2011-01-21 Thread LouP
One more thing. I have exactly the same sage-4.6 package installed on my Mac Pro desktop, but with system 10.4 (rather than 10.6 on my laptop). There sage TKAgg plotting and tk dialogs bring up Mac versions, not X11. This just leads to more head scratching on my part, but I offer it for conside

[sage-support] Re: Problem: X11 dialogs and plots are used instead of Native Mac OS X GUI items

2011-01-21 Thread LouP
On Jan 21, 3:46 pm, Robert Bradshaw wrote: > On Fri, Jan 21, 2011 at 12:28 PM, LouP wrote: > > > I have more information.  I ran my script using the pre-installed > > python 2.6 framework on my Mac and the Mac version of the dialogs was > > used (which is what

[sage-support] Re: Problem: X11 dialogs and plots are used instead of Native Mac OS X GUI items

2011-01-21 Thread LouP
I have more information. I ran my script using the pre-installed python 2.6 framework on my Mac and the Mac version of the dialogs was used (which is what I want), but when I use the sage installed python I still get the X11 dialogs. More interesting is that I replaced all the files in the lib-t

[sage-support] Problem: X11 dialogs and plots are used instead of Native Mac OS X GUI items

2011-01-21 Thread LouP
I have SAGE 4.6 on my Mac OS X 10.6 Mac Book Pro. Before I installed SAGE I installed the Tk-Tcl libraries as I was advised. Now when I plot (matplotlib with TKAgg backend) or open a file dialog box with Easy GUI (which uses tkFileDialog.askopenfilename(...) from the TK library X11 starts up and

[sage-support] Re: Problem: SAGE will not run script in path with spaces or non-ascii.

2010-02-19 Thread LouP
Thank you, Mr. Drake. I looked at the ticket and understand some of it. I hope it can be fixed. For now I'll have to put my scripts in non-white-space and non-ascii paths. -- Lou P On Feb 18, 9:32 pm, Dan Drake wrote: > On Fri, 19 Feb 2010 at 11:17AM +0900, Dan Drake wrote: > > I worked on t

[sage-support] Problem: SAGE will not run script in path with spaces or non-ascii.

2010-02-18 Thread LouP
I can run my python scripts using the SAGE python using the recommended she-bang #!/usr/bin/env sage -python as the first line. But if the path to the script has white space or non-ascii characters I get an error message like, /Applications/sage-4.3.2/local/bin/sage-sage: line 876: [: too

[sage-support] Solution found for pylab and TkAgg plotting in SAGE (Mac OS X)

2010-02-18 Thread LouP
A few weeks ago I posted a problem with Mac OS X with matplotlib in the SAGE distribution in which attempting to import pylab gave an error message which stated that there was an import error and the module _tkagg could not be found. The problem appears to be with matplotlib (I'm not clear about th

[sage-support] Pylab modules are missing in SAGE. How to fix this?

2009-12-29 Thread LouP
I installed SAGE from a binary dowload on my Mac Book Pro (OS X 10.4, Intel 32 bit chip). In testing it out I have several problems with pylab which I use a lot and which I thought was part of the SAGE package. 1) Pylab can't find the _tkagg module. Error msg: ImportError: No module named _tkag

[sage-support] Re: Problem importing pylab. No module named _tkagg

2009-12-25 Thread LouP
nd Tk, respectively. Once I did that, TkAgg built cleanly and my 'matplotlib' build/install went fine. I think the same thing would probably work inside sage if one is willing to do some hand editing. On Dec 25, 12:11 pm, LouP wrote: > I just installed SAGE on my Mac Book Pro (OS X

[sage-support] Problem importing pylab. No module named _tkagg

2009-12-25 Thread LouP
I just installed SAGE on my Mac Book Pro (OS X 10.4, Intel chip). The install seemed to go well, but when I try to import pylab I get the following error: /Applications/sage/local/lib/python2.6/site-packages/matplotlib/ backends/tkagg.py in () 2 import Tkinter as Tk 3 4 def blit

[sage-support] Re: Does the Sage Python installation interfere with a current Python?

2007-11-12 Thread LouP
Thanks, Mike. Sage appears to be an amazing package. Very impressive from the little I've tried so far. -- Lou Pecora On Nov 12, 12:37 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > Hello Lou, > > All of Sage's Python stuff exists independently of the system-wide > Python and shouldn't have an

[sage-support] Does the Sage Python installation interfere with a current Python?

2007-11-12 Thread LouP
(I posted this on the discussion forum. I don't know which one is the right one to ask this on. Apologies if this is not the appropriate forum.) I am interested in trying Sage and have a question about the Python that comes with the Sage installation. If this is not the proper forum for this qu