There is a typo in my previous post.
It should be /home/sage/.sage/filename.spyx
I forgot the / before home.
On Apr 26, 4:49 pm, pong <[EMAIL PROTECTED]> wrote:
> After digging around a little bit more I found something that works.
>
> To load a python program into a worksheet, one can use
>
>
Hello Jason, it works! Thanks.
May I follow up with a question. Eventually, I want to compile codes
written in SAGE into faster executable codes. How should I do it? Do I
need to translate it into Python first then run Cython on it?
I tried moving example.py into example.spyx then run Cython, it
Hello,
pong wrote:
> Sorry for asking such a basic question but I still have trouble with
> it.
>
> I have created example.sage with the following content
>
> print "Hello World"
> print 2^3
>
> and load it into SAGE by load "example.sage". My understanding of the
> tutorial is that SAGE will con
Sorry for asking such a basic question but I still have trouble with
it.
I have created example.sage with the following content
print "Hello World"
print 2^3
and load it into SAGE by load "example.sage". My understanding of the
tutorial is that SAGE will convert this into python and save it in
On Apr 25, 10:21 pm, ugus <[EMAIL PROTECTED]> wrote:
> > Sound pretty much like it could be. Can you take vanilla python 2.5.2
> > on your box, build from source and then check if the gdbm extension
> > compiles [I think it won't]. Can you then build gdbm from source and
> > use that version to
On Apr 26, 5:54 pm, ugus <[EMAIL PROTECTED]> wrote:
> Hi Michael,
>
> > I would suspect you need to do the following thing:
> > a) cd into $SAGE_ROOT
> > b) source local/bin/sage/env
> > c) patch the python.spkg, then run ./spkg-install from its base
> > directory
> > d) cd into $SAGE_ROOT again
On Apr 26, 10:50 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 26, 2008 at 1:26 PM, teck <[EMAIL PROTECTED]> wrote:
>
> > I have installed new ubuntu 8.04 hardy heron and downloaded sage but
> > when I run it, firefox only displays this warning:
>
> > Secure Connection Failed
>
On Apr 26, 11:47 pm, John H Palmieri <[EMAIL PROTECTED]> wrote:
Hi John,
> What are the optional packages? Right now if I type 'sage -optional',
> I get a list like this:
>
> NOT INSTALLED:
> biopython-1.44
> database_sloane_oeis-2005-12
>
> (etc.)
>
> It would be very helpful if I got something
What are the optional packages? Right now if I type 'sage -optional',
I get a list like this:
NOT INSTALLED:
biopython-1.44
database_sloane_oeis-2005-12
(etc.)
It would be very helpful if I got something like this instead:
NOT INSTALLED:
biopython-1.44 Python modu
On Sat, Apr 26, 2008 at 1:26 PM, teck <[EMAIL PROTECTED]> wrote:
>
> I have installed new ubuntu 8.04 hardy heron and downloaded sage but
> when I run it, firefox only displays this warning:
>
>
> Secure Connection Failed
>
> An error occurred during a connection to localhost:8000.
>
> Certif
I have installed new ubuntu 8.04 hardy heron and downloaded sage but
when I run it, firefox only displays this warning:
Secure Connection Failed
An error occurred during a connection to localhost:8000.
Certificate key usage inadequate for attempted operation.
(Error code: sec_error_inadequate
On Fri, Apr 25, 2008 at 6:18 PM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
>
>
> On Apr 26, 3:14 am, "David Joyner" <[EMAIL PROTECTED]> wrote:
> > Hi:
> >
> > I'm wondering why is it that
> > rm -rf "$SAGE_ROOT/local/lib/$GAP/pkg/"
> > mkdir "$SAGE_ROOT/local/lib/$GAP/pkg/"
> > occurs in the sp
Hi Michael,
> I would suspect you need to do the following thing:
> a) cd into $SAGE_ROOT
> b) source local/bin/sage/env
> c) patch the python.spkg, then run ./spkg-install from its base
> directory
> d) cd into $SAGE_ROOT again
> e) ./sage -ba
> f) start sage
> Have you done those things listed
Hi Michael,
> I would suspect you need to do the following thing:
> a) cd into $SAGE_ROOT
> b) source local/bin/sage/env
> c) patch the python.spkg, then run ./spkg-install from its base
> directory
> d) cd into $SAGE_ROOT again
> e) ./sage -ba
> f) start sage
> Have you done those things listed
Hi Michael,
> I would suspect you need to do the following thing:
> a) cd into $SAGE_ROOT
> b) source local/bin/sage/env
> c) patch the python.spkg, then run ./spkg-install from its base
> directory
> d) cd into $SAGE_ROOT again
> e) ./sage -ba
> f) start sage
> Have you done those things liste
Hi Michael,
> I would suspect you need to do the following thing:
>
> a) cd into $SAGE_ROOT
> b) source local/bin/sage/env
> c) patch the python.spkg, then run ./spkg-install from its base
> directory
> d) cd into $SAGE_ROOT again
> e) ./sage -ba
> f) start sage
>
> Have you done those things lis
According to SAGE tutorial once the user loaded "example.sage" into
SAGE, it will convert the codes into Python. And the converted version
is then stored in the same directory (as the one containing
example.sage) under the name example.sage.py. However, I cannot find
the .sage.py file even after l
After digging around a little bit more I found something that works.
To load a python program into a worksheet, one can use
load "filename.py"
assuming your code is stored in the file with name filename.py.
Certainly you may need to specify the path where you save filename.py
To compile and th
18 matches
Mail list logo