1 | initial version |
As commented by @rburing, the problem is that the code needs to be preparsed first, see the doc (I cannot insert the link for you..).
I made it work as follows:
$ sage --preparse estimator.sage
which creates an estimator.sage.py
file, which can be executed with
$ sage estimator.sage.py