On Wed, 27 May 2009 at 02:11PM -0700, mathgeek wrote:
> So I just got the Ubuntu 9.04 netbook remix and installed sage through
> the terminal by typing Sage and then it asked me if I wanted to
> install... So I said yes and it did... Now I am having a lot of
> difficulties with it. When I try to run a test, all I get is:
> 
> sage: -testall
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call
> last)
> 
> /home/mathgeek/<ipython console> in <module>()
> 
> NameError: name 'testall' is not defined

Did you install Sage through apt or Synaptic? If so, you should know
that the version of Sage available in Ubuntu does not pass doctests, so
it's somewhat pointless to even run the tests.

The way that tests are normally run is by going to the root directory of
the Sage installation and running "make test" or "make testlong". In the
packaged version of Sage that you installed, however, there probably is
no such directory.

> And when I try to use the plot functions, it seems that jsMath is not
> installed or something with that is messed up.

This is a different problem and I'm not sure what to do about this.
There might be a jsmath package you can install to help, although
perhaps that got pulled in by Sage's dependencies.

Dan

-- 
---  Dan Drake <dr...@kaist.edu>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to