I used this User's guide
https://dot2tex.readthedocs.io/en/latest/
I download python-2.7.14.msi from https://docs.python.org/2.7/installing/index.html
I install python-2.7.14.msi
Add
;C:\python25
in Systemsteuerung>System>Erweiterte Systemeinstellung>Umgebungsvariablen>Systemvariablen>Path.
I download pyparsing-2.2.0.win32-py2.7 from https://sourceforge.net/projects/pyparsing/files/pyparsing/pyparsing-2.2.0/pyparsing-2.2.0.win32-py2.7.exe/download
I installed pyparsing-2.2.0.win32-py2.7
I download dot2tex-2.9.0.zip
I unzip dot2tex-2.9.0.zip to C:\Users\Laptop\Desktop\dot2tex-2.9.0
I try to use pip, this should work because I use the version 2.7.14 of python:
https://dot2tex.readthedocs.io/en/latest/installation_guide.html#using-pip-or-easy-install
I start python (command line)
C:\Python27\python.exe starts
I type in "pip install dot2tex" It shows:
>>> pip install dot2tex
File "<stdin>", line 1
pip install dot2tex
^ SyntaxError: invalid syntax
What do I do wrong?
I start IDLE (Python GUI)
It shows:
"Python 2.7.14 Shell"
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> LE
I load with
File>open...>Desktop>dot2tex-2.9.0>setup.py
the setupfile of dot2tex-2.9.0
I do "Run>Run Module"
It shows
========== RESTART: C:\Users\Laptop\Desktop\dot2tex-2.9.0\setup.py ==========
>>>
I download graphviz-2.38.msi from https://graphviz.gitlab.io/_pages/Download/Download_windows.html
I install graphviz-2.38.msi
I add
;C:\Program Files\Graphviz2.38\bin
in Systemsteuerung>System>Erweiterte Systemeinstellung>Umgebungsvariablen>Systemvariablen>Path.
I open Command Promt
I type "D:>dot2tex a.dot"
It comes that the command "dot2tex" was not found.
What do I do wrong?