#9191: Running pyx files from the command line doesn't work anymore
---------------------------------------+------------------------------------
Reporter: was | Owner: jason
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.4
Component: misc | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Karl-Dieter Crisman | Merged in:
Dependencies: | Stopgaps:
---------------------------------------+------------------------------------
Description changed by jdemeyer:
Old description:
> Create a file like this:
> {{{
> flat:tmp wstein$ cat a.spyx
> print "hello"
> }}}
>
> We have:
> {{{
> flat:tmp wstein$ sage a.spyx
> Traceback (most recent call last):
> File "/Users/wstein/sage/build/sage/local/bin/sage-sagex", line 5, in
> <module>
> from sage.misc.interpreter import load_sagex
> ImportError: cannot import name load_sagex
> }}}
>
> Note that .pyx files work fine:
>
> {{{
> flat:x wstein$ cp a.spyx a.pyx
> flat:x wstein$ sage a.pyx
> hello
> }}}
New description:
Create a file like this:
{{{
flat:tmp wstein$ cat a.spyx
print "hello"
}}}
We have:
{{{
flat:tmp wstein$ sage a.spyx
Traceback (most recent call last):
File "/Users/wstein/sage/build/sage/local/bin/sage-sagex", line 5, in
<module>
from sage.misc.interpreter import load_sagex
ImportError: cannot import name load_sagex
}}}
Note that .pyx files work fine:
{{{
flat:x wstein$ cp a.spyx a.pyx
flat:x wstein$ sage a.pyx
hello
}}}
'''Apply'''
1. [attachment:trac_9191-cython.patch] to the SCRIPTS repo.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9191#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.