On Thu, Jun 5, 2014 at 4:39 AM, <pete.donn...@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 suppose I might be able to work around this
> issue with some shell scripting glue, but that will get pretty messy.
>>
>>  Sorry to be difficult! Any other suggestions, or am I on my own from
> here?
>

At a bare minimum, put

 import sage.all

somewhere in your Python client code before you even try to import the
Cython code.   It is NOT supported to import random things in random order
from the Sage library, which is precisely what you're doing by putting

   from sage.geometry.cone import Cone

in a Cython module, building it, and importing only that module.

William


>
> Thanks,
> Pete
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to