Dear William,
On Sep 19, 11:18 am, "William Stein" <[EMAIL PROTECTED]> wrote:
<snip>
> > It did compile, i obtained an .so file.
>
> How? Did you try the system-wide Pyrex?
Yes. It was joint work of pyrexc and gcc.
> If so, instead try doing
>
> sage -cython filename.pyx
This yields essentially the same complaint:
...388:9: undeclared name not builtin: sage
In other words, sage is unknown to sage...
However (see my previous mail), putting
import sage
in the .pyx file solves the problem, even when i just use pyrexc/gcc
In other words, simply having
from sage.matrix.matrix_space import MatrixSpace
(according to Mike's advice) was not enough.
Yours
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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/
-~----------~----~----~----~------~----~------~--~---