| 1 | initial version |
Why don't you run it as sage instead of trying to run it as a python file? Simply use
#!/usr/bin/env sage
Also, note that the #! you used would try to run a command called sage -python instead of running the command sage with the argument -python.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.