On Thu, Jun 5, 2014 at 4:39 AM, wrote:
> Interesting, it also works for me when run from the prompt. Unfortunately,
> I need to be able to run the script in an automated way from outside Sage,
> not just from a Sage prompt. I suppose I might be able to work around this
> issue with some shell scr
echo '%run test.spyx' | sage
On Thursday, June 5, 2014 12:39:29 PM UTC+1, pete.d...@port.ac.uk wrote:
>
> Interesting, it also works for me when run from the prompt. Unfortunately,
> I need to be able to run the script in an automated way from outside Sage,
> not just from a Sage prompt. I supp
Interesting, it also works for me when run from the prompt. Unfortunately,
I need to be able to run the script in an automated way from outside Sage,
not just from a Sage prompt. I suppose I might be able to work around this
issue with some shell scripting glue, but that will get pretty messy.
>
sage: %run test.spyx
works for me
On Thursday, June 5, 2014 10:01:54 AM UTC+1, pete.d...@port.ac.uk wrote:
>
> Hi guys,
>
> Thanks for the advice so far. Here's a minimal example:
>
> from sage.geometry.cone import Cone
> C = Cone( [[1,0],[0,1]] )
>
> And here's what happens when I try to run i
Hi guys,
Thanks for the advice so far. Here's a minimal example:
from sage.geometry.cone import Cone
C = Cone( [[1,0],[0,1]] )
And here's what happens when I try to run it:
Compiling test.spyx...
Traceback (most recent call last):
File "/var/local/sage-6.2/local/bin/sage-run-cython", line 9,
Post a minimal test case that exhibits your problem.
You probably need to add "from sage.geometry.cone import Cone"
On Wednesday, June 4, 2014 6:46:47 PM UTC+1, pete.d...@port.ac.uk wrote:
>
> Hi everyone,
>
> I'm a bit stumped trying to convert a Sage script that uses the inbuilt
> Cone type