1 | initial version |
This import statement should be replaced with:
from sage.repl.preparse import preparse
This is the case in the latest version of sagetex. Let me suggest to update your version of sagetex by typing, from a terminal:
sage -f sagetex