Related question: Where is the 'best' place to put the sagetex folder? I have tried a lot of variations on the various texmf folders (I seem to have an abundance of them, including a texmf-dist which is where my latex looks for things. It only seems to be looking in latex/ base/, though.
- kcrisman On Oct 9, 6:30 am, Jason Grout <[EMAIL PROTECTED]> wrote: > wiso wrote: > > I've some problem using sagetex with LaTeX. If I try: > > > pdflatex prova.tex > > sage prova.sage > > > Traceback (most recent call last): > > File "prova.py", line 3, in <module> > > import sagetex > > ImportError: No module named sagetex > > > now I'm working in my directory, but if copy /usr/share/texmf/tex/ > > latex/sage/sagetex.py in my directory all work. Why sage can't find > > sagetex.py ? > > Python can't find the sagetex.py module because it knows nothing about > the tex system or its directory tree. Putting it in the current > directory makes it so that python can find sagetex.py. You can also > put it various other places, just like installing any python module. > > Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---