Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SageTex, sage, version conflict?

Hello to everyone,

I am trying to use sagetex in my ubuntu18.094 machine. I use the file from this manual. I call my file Test.tex

PdfLatex does its job. I have a Test.sagetex.sagefile in my folder. When I run, at the same folder, from a terminal sage Test.sagetex.sage I get the following error

Traceback (most recent call last):

File "Test.sagetex.sage.py", line 9, in <module>

_st_ = sagetex.SageTeXProcessor('Test', version='2015/08/26 v3.0-92d9f7a', version_check=True)

File "... Programs/sage-8.1/local/lib/python2.7/site-packages/sagetex.py", line 76, in __init__

raise VersionError(errstr)

sagetex.VersionError: versions of .sty and .py files do not match.

Test.sagetex.sage was generated by sagetex.sty version "2015/08/26 v3.0-92d9f7a", but

is being processed by sagetex.py version "2019/01/09 v3.2".

Please make sure that TeX is using the sagetex.sty

from your current version of Sage; see...

I built sage from the source code, at some point, then I upgraded with sage update. I now have sage 8.8 but still a folder sage-8.1

I installed sagetex from the repos.

Anyone a suggestion?

Thanks!