Ask Your Question

Error typesetting

asked 2015-04-27 16:42:02 -0500

Vladimir gravatar image

Hello, I'm having problems with SageMath, constantly getting message error:

Error typesetting mathematics

How can I resolve this problem?
Thanks in advance.

edit retag flag offensive close merge delete


Please give us a sample of some code that is producing this error.

calc314 gravatar imagecalc314 ( 2015-04-27 18:38:28 -0500 )edit

It's not about the code, I always get that error and sometimes this:
Error typesetting mathematics

/usr/lib/sagemath/local/lib/python2.7/site-packages/setuptools-12.4-py2.\ 7.egg/pkg_resources/ UserWarning: /home/sivi/.sage//.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).

Vladimir gravatar imageVladimir ( 2015-04-28 11:33:27 -0500 )edit

I'm also getting this error. I haven't used sage in a while, but I noticed that the new version (6.6) has updated recently.

fabikw gravatar imagefabikw ( 2015-04-29 11:24:29 -0500 )edit

So, does anyone have a clue where I can find my answer and hopely solve this annoying problem?

Vladimir gravatar imageVladimir ( 2015-05-02 21:57:49 -0500 )edit

Hi, I had the same problem after the latest update on Ubuntu. I was using the AIMS ppa. Uninstalling the ppa package and manually installing the pre built binary for Ubuntu 14.04 fixed the issue.

NahsiN gravatar imageNahsiN ( 2015-05-12 15:02:19 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-22 01:41:03 -0500

pipedream0 gravatar image


This is fixed in the latest PPA (but does not always get fixed during upgrades due to a low level dpkg issue with folders changing to symlinks).

To fix an existing install do: sudo -i cd /usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/ rm -rf mathjax ln -s ../../../../../../share/mathjax/

Close and open sage again.

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: 2015-04-27 16:42:02 -0500

Seen: 956 times

Last updated: Jun 22 '15