I was creating a scene and so far everything was working smoothly, but I encountered my first grave error when trying to create a Tex() object. I had MiKTeX at the time and the failure was related to the svg creation (it failed to create the svg because I'm pretty sure I didn't have dvisvgm). I'm fairly new to all of this so in that moment I thought the 'easiest' solution would be to uninstall MiKTeX and just install TeX Live full since it was recommended anyways. Now with TeX Live I get compilation failure.
The failure occurs specifically when running the compilation command in full_tex_to_svg() of tex_file_writing.py:
# Run latex compiler
process = subprocess.run(
[
compiler,
*(['-no-pdf'] if compiler == "xelatex" else []),
"-interaction=batchmode",
"-halt-on-error",
f"-output-directory={temp_dir}",
tex_path
],
capture_output=True,
text=True
)
Running this in the debugger i get the following:

I am using 'latex' compiler. temp_dir, tex_path and the actual tex string are all correct, since before running this it is able to properly write the working.tex file. Compiling the file manually in the terminal within the cache directory works but for some reason when manim runs it this way it fails. Maybe someone is able to tell I made a simple rookie mistake but right now I'm at a loss.
manim version: master
python version: 3.13.12
I was creating a scene and so far everything was working smoothly, but I encountered my first grave error when trying to create a
Tex()object. I had MiKTeX at the time and the failure was related to the svg creation (it failed to create the svg because I'm pretty sure I didn't have dvisvgm). I'm fairly new to all of this so in that moment I thought the 'easiest' solution would be to uninstall MiKTeX and just install TeX Live full since it was recommended anyways. Now with TeX Live I get compilation failure.The failure occurs specifically when running the compilation command in
full_tex_to_svg()oftex_file_writing.py:Running this in the debugger i get the following:

I am using
'latex'compiler.temp_dir,tex_pathand the actual tex string are all correct, since before running this it is able to properly write theworking.texfile. Compiling the file manually in the terminal within the cache directory works but for some reason when manim runs it this way it fails. Maybe someone is able to tell I made a simple rookie mistake but right now I'm at a loss.manim version: master
python version: 3.13.12