[sage-support] Re: Compiling sage on Ubuntu 11.10 under VirtualBox

2011-12-15 Thread Adam Webb
On Dec 15, 5:49 pm, Michael Fawcett m...@fawcettsoft.com.au wrote: I am having problems compiling Sage on the following setup: ASUS K52J laptop with Intel Core I3 processor with 4G RAM running Windows 7 VirtualBox 4.1.6 Guest OS Ubuntu 11.10 desktop (i386) with 1933 M RAM allocated.

[sage-support] Re: Using Sage Python as System Python

2011-01-12 Thread Adam Webb
On Jan 12, 11:00 am, emil emil.widm...@gmail.com wrote: Hm, I ask that here because it seems related somehow. Is there a way to make plotting behave normal from the python commandline? I know that from the notebook it will show all pictures which are stored in the notebook directory. I

[sage-support] Re: Using Sage Python as System Python

2011-01-12 Thread Adam Webb
On Jan 12, 4:21 pm, emil emil.widm...@gmail.com wrote: My guess is that matplotlib was built without the gui. I build Sage from source and in that case it is necessary to set an environment variable. For example in bash: export SAGE_MATPLOTLIB_GUI='yes'. This then will tell it to try to

[sage-support] Re: Using Sage Python as System Python

2011-01-11 Thread Adam Webb
On Jan 12, 6:49 am, mankoff mank...@gmail.com wrote: Hi Group, I'm using Sage as my python install. How can I upgrade a python package within sage? For example, pygmentize is version 0.11, and I'd like to upgrade this. Easy_install doesn't seem to be working, or places the new binary in

[sage-support] Re: Is sage 4.3.5 able to solve quadratic equations??

2010-06-21 Thread Adam Webb
On Jun 20, 6:50 pm, Matthias Meulien oron...@gmail.com wrote: Hi, I can't figure out why the following commands ends with a TypeError exception. sage: basering = PolynomialRing(SR, 'x') sage: polynomial = basering.lagrange_polynomial([(0,0), (1,pi), (2, pi/ 2)]) sage:

[sage-support] Re: Error when importing matplotlib from sage -python

2010-05-23 Thread Adam Webb
On May 22, 11:12 pm, Jose Guzman n...@neurohost.org wrote: Hi everybody When I tried to import matplotlib from the Python version that is bundled with Sage, I found that the moduled tkagg was not present.   import matplotlib.pyplot as plt   No module named _tkagg Would anybody tell me

[sage-support] Re: Running SAGE on Scientific Linux: Possible?

2010-03-16 Thread Adam Webb
On Mar 16, 3:06 pm, rvaug...@gmail.com rvaug...@gmail.com wrote: When I try to make sage-4.3.3, I get: There is no spkg-install script, no setup.py, and no configure script, so I do not know how to install /usr/share/sage-4.3.3/spkg/standard/ gd-2.0.35.p4.spkg. make[1]: ***

[sage-support] Re: WTF

2010-02-16 Thread Adam Webb
On Feb 16, 3:15 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: On 16 ún, 07:31, William Stein wst...@gmail.com wrote: Interestingly, Dana's worksheet has a cells/-1 directory---none of my Wow.  It should not be possible to get a cells/-1 directory.  The cell numbers should start at 1,

[sage-support] Re: Using many local files with remote notebook

2009-12-30 Thread Adam Webb
On Dec 30, 4:45 am, Marshall Hampton hampto...@gmail.com wrote: It seems like this really depends how the files are generated and what needs to be done to them.  If a scientific instrument is generating them, perhaps they could be put onto a web server, and then accessed with urllib

[sage-support] AttributeError using remote-sagetex.py

2009-12-29 Thread Adam Webb
Hi, I have been having a problem using sagetex. I want to use it on a Windows machine by using TeXnicCenter and the remote-sagetex script. TexnicCenter worked great and even auto-installed sagetex from CTAN. However, running remote-sagetex.py complains and gives: $ sage-python remote-sagetex.py

[sage-support] Using many local files with remote notebook

2009-12-29 Thread Adam Webb
Hi all, I often have multiple files for analysis. For example, I might have a few hundred spectra in a single directory as a single series. I want to run a script that loads them one at a time, does something on each, and returns a result in a final file. This works fine in a local setting. The

[sage-support] Re: Using many local files with remote notebook

2009-12-29 Thread Adam Webb
How is it not user-friendly?  (I'm really curious).  Python has some very nice ways with dealing with zip files.  Here is some pages from a google search on python and zip: http://docs.python.org/library/zipfile.html http://effbot.org/librarybook/zipfile.htm Is there a better way, i.e.

[sage-support] Re: jsmath fonts bafflement

2009-04-17 Thread Adam Webb
On Apr 18, 12:35 am, Kevin Horton khorto...@rogers.com wrote: I am running sage 3.4 on OS X.  I get the well known jsmath fonts messages when I try to view a notebook worksheet from my work computer.  Our work PCs are so locked down that I cannot install additional fonts there, so I need to

[sage-support] Re: Sage upgrade

2008-12-07 Thread Adam Webb
Hi, I got a similar message when I did an upgrade. The original 3.2 was built from source. This is on Ubuntu 8.10 on AMD64. I tried running 'sage -ba', however, this did not change anything. cheers, Adam --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: sage and tkinter?

2008-12-03 Thread Adam Webb
Hi, Do you have tcl-devel and tk-devel installed? I would expect that these are also needed when python is being built. Adam On Dec 3, 2:50 pm, David Joyner [EMAIL PROTECTED] wrote: Hi: I wonder if anyone here knows how to get sage's python to recognize tcl/tk? In other words, I would like

[sage-support] using Matplotlib and sagetex

2008-12-01 Thread Adam Webb
Hi, I would like to add plots to a document using sagetex and my script uses matplotlib to generate the plot. Is it possible to matplotlib with sagetex? I understand that /sageplot{} wants a graphics obj with a .save method. However, I have not found how to generate such an object. For example

[sage-support] Re: sage -wiki not starting

2008-09-23 Thread Adam Webb
^^^ This is some sort of permission error. Are you running SELinux or something like that? Just to confirm. SELinux was added to the computer. I am now 'negotiating' with IT. :-) cheers, Adam --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: sage -wiki not starting

2008-09-23 Thread Adam Webb
Hi, ^^^ This is some sort of permission error. Are you running SELinux or something like that? It turns out that although SELinux is installed it is actually disabled because it interferes to much and since I live behind a firewall it deemed unneeded. So I am back to square one. At

[sage-support] sage -wiki not starting

2008-09-22 Thread Adam Webb
Hi, I would guess this might be related to ticket #1870. If I try to run sage -wiki or wiki() I get an error. $ sage -- | SAGE Version 3.1.2, Release Date: 2008-09-16 | | Type notebook() for the GUI, and

[sage-support] Re: sage -wiki not starting

2008-09-22 Thread Adam Webb
It works for me: sage: wiki() ** *                                                * * Open your web browser tohttp://localhost:9000* *                                                * **

[sage-support] Re: SnapPeaPython

2008-09-11 Thread Adam Webb
Hi, On Sep 11, 3:05 am, hypermonkey2 [EMAIL PROTECTED] wrote: Cool! i actually did not have gcc, but i installed it now. my error looks like now:  [1;31meeepc-jonathanl: [1;34m/media/E/SnapPeaPython [1;00m python setup.py build running build running build_py running build_ext building

[sage-support] Re: Problem of using sagetex with a MikTeX system

2008-08-22 Thread Adam Webb
Hi, Traceback (click to the left for traceback) ... ImportError: No module named sagetex It appears that sagetex is not installed for MikTek. This is not surprising. The first thing would be to install it from CTAN (http:// www.ctan.org/tex-archive/macros/latex/contrib/sagetex/). I cannot

[sage-support] Re: matplotlib show command not showing plot

2008-05-19 Thread Adam Webb
Of course it wasn't 8.10. I am running Ubuntu 8.04. My mistake. :-) A. On May 18, 6:52 pm, Adam Webb [EMAIL PROTECTED] wrote: Hi, I tried a few settings in matplotlibrc and found that TkAgg worked. Thanks, Adam On May 18, 4:10 pm, chu-ching huang [EMAIL PROTECTED] wrote: This error

[sage-support] matplotlib show command not showing plot

2008-05-18 Thread Adam Webb
I have recently had a problem plotting with matplotlib in sage 3.0 and now also in sage 3.0.1. Even if I try the simplest plot from the matplotlib tutorial, I don't get a plot. sage: from pylab import * sage: plot([1,2,3,4]) [matplotlib.lines.Line2D instance at 0xc12176c] sage: show() sage: I

[sage-support] Re: matplotlib show command not showing plot

2008-05-18 Thread Adam Webb
-data, ... # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg # Agg Cairo GD GDK Paint PS PDF SVG Template backend : Agg ... I add wx (module) and change it to: backend : WX And the problem is solved. cch On May 18, 11:05 am, Adam Webb [EMAIL PROTECTED