Sage/Cython compile embedded Cython with Sage import
I was wondering how you can compile a Sage .pyx file into an embedded Cython .c file and compile it with gcc to create a standalone executable?
sage -cython --embed filename.pyx gcc filename.c -I/path/to/python -lpython2.7
but when I run the program it gives me the following error:
from sage.all import * ImportError: No module named sage.all