On 4/29/07, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> I would like to use SAGE from a normal python by using:
>
> import sage
>
> and playing with it. I know that I can use:
>
> [EMAIL PROTECTED]:~/extprograms/sage-2.5.alpha0$ ./sage -python
> example.sage
> This is a simple SAGE example script.
> 15
> Traceback (most recent call last):
>   File "example.sage", line 26, in <module>
>     print factor(2005)
> NameError: name 'factor' is not defined
>
> But I prefer to have SAGE installed as a regular python package. Is it
> possible?


It is possible, but it is currently _not_ supported.  It will be
supported at some
point in the future, but there are other things that are more important that
have to be done first.

You can often use everything installed in a different python from the
"sage -python" by just appending to the python path from within
Python.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to