Ask Your Question

How to import "preparser"?

asked 2016-05-16 21:58:02 +0200

done_with_fish gravatar image

I tried to compile a latex document today using sagetex and received the error

from sage.misc.preparser import preparse ImportError: No module named preparser

Any ideas how to fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-17 00:12:21 +0200

tmonteil gravatar image

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
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-05-16 21:58:02 +0200

Seen: 382 times

Last updated: May 17 '16