Ask Your Question
1

How to import "preparser"?

asked 2016-05-16 14:58:02 -0500

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
2

answered 2016-05-16 17:12:21 -0500

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

Stats

Asked: 2016-05-16 14:58:02 -0500

Seen: 57 times

Last updated: May 16 '16