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 -~----------~----~----~----~------~----~------~--~---