trying to install dot2tex
asked 2011-11-22 15:09:49 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
In trying to view a crystal graph, I had this sequence of exchanges with SAGE
sage: B=CrystalOfTableaux(['A',2],shape=[2,1]) sage: view(B) evaluate dot2tex not available. Install after running 'sage -sh' dot2tex not available. Install after running 'sage -sh' None sage: -sh evaluate Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_14.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("LXNo"),globals())+"\\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in <module> File "/tmp/tmp_8N1J9/___code___.py", line 2, in <module> exec compile(u'-sh File "", line 1, in <module> AttributeError: Sh instance has no attribute '__neg__'
What did I do wrong trying to run the -sh command? And after I get it to run, do I just enter -i dot2tex?