problems with tex_to_dvi in tex_mobject.py
See original GitHub issueHi all,
run extract_scene.py -p curves.py in python jupyter notebook. I got always following error which I don’t manage to solve.
Traceback (most recent call last): File "C:\Users\Koen\manim\extract_scene.py", line 200, in main handle_scene(SceneClass(**scene_kwargs), **config) File "C:\Users\Koen\manim\scene\scene.py", line 48, in __init__ self.construct(*self.construct_args) File ".\curves.py", line 126, in construct anim = SlideWordDownCycloid("Brachistochrone") File ".\curves.py", line 67, in __init__ word_mob = TextMobject(list(word)) File "C:\Users\Koen\manim\mobject\tex_mobject.py", line 54, in __init__ self.template_tex_file File "C:\Users\Koen\manim\mobject\tex_mobject.py", line 255, in tex_to_svg_file dvi_file = tex_to_dvi(tex_file) File "C:\Users\Koen\manim\mobject\tex_mobject.py", line 297, in tex_to_dvi "See log output above or the log file: %s" % log_file) Exception: Latex error converting to dvi. See log output above or the log file: C:\Users\Koen\manim\files\Tex\-91855429.log
Does anyone know how to deal with this error?
many thanks from a bit frustrated person
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (2 by maintainers)
Top GitHub Comments
I had to change the commands = […] in mobject/tex_mobject.py
Two cents - ran into this today, I recommend looking at the log file as this indicates an error or missing font/package in LaTeX, not a problem with
manim
. Look for an error like this in the log file:In my case I had two missing tex packages to install: physics and doublestroke. I followed the install instructions here.