[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 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. VirtualBox > guest additio

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

2011-01-12 Thread Adam Webb
On Jan 12, 4:21 pm, emil 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 build a gui. It

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

2011-01-12 Thread Adam Webb
On Jan 12, 11:00 am, emil 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 also readhttp://uw.sa

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

2011-01-11 Thread Adam Webb
On Jan 12, 6:49 am, mankoff 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 /usr/local/bin

[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 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: > polynomial.base_ring() >

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

2010-05-23 Thread Adam Webb
On May 22, 11:12 pm, Jose Guzman 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 how t

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

2010-03-16 Thread Adam Webb
On Mar 16, 3:06 pm, "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]: *** [installed/gd-2.0.35.p4

[sage-support] Re: WTF

2010-02-16 Thread Adam Webb
On Feb 16, 3:15 pm, "ma...@mendelu.cz" wrote: > On 16 ún, 07:31, William Stein 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, not -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 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 functions?    Do they ne

[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

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

[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] Re: jsmath fonts bafflement

2009-04-17 Thread Adam Webb
On Apr 18, 12:35 am, Kevin Horton 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 address this on

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

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

[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 with a .save method. However, I have not found how to generate such an object. For example if I use the

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

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

2008-09-22 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 sa

[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] 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 li

[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

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

[sage-support] problems building matplotlib on Ubuntu 8.04

2008-07-03 Thread Adam Webb
Hi all, I have been having problems with Matplotlib on Ubuntu 8.04 (AMD-64). Specifically, I am having trouble with the backends. If I build Matplotlib separately I get the following for information about backends. OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.15beta5

[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

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

2008-05-18 Thread Adam Webb
s/matplotlib/ > mpl-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.

[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]) [] sage: show() sage: I have tried this in both the notebook and from t