1 | initial version |
The problem seems to be that sage
isn't in your $PATH
. You can use thsese instructions to add $SAGE_ROOT
to your path. Another (easier, in some sense) solution is to make the first line of your script be
#!/path/to/your/sage-4.7.1/sage -python
and then the script will know explicitly which Sage installation to use.