I've installed SageTex in my texmf tree. Latex is running using WinEdt and appears to see the style file, as I have the output files example.sagetex.sage from example.tex. My issue is the second step to have this compile with Sage.
I have the following message:
NameError Traceback (most recent call last) <ipython-input-2-88e1aeb809a1> in <module>() ----> 1 example.sagetex.sage NameError: name 'example' is not defined
I am running Python 3.7 - I'm not sure whether this would be an issue. Is anyone able to shed any light on what is going on?