-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latex error #3748
Comments
Under Windows I would recommend to rather install MikTeX using its native Windows installer and not using Choco for this. The error message simply means that Manim is not able to find the LaTeX executable, LaTeX is an external software which has nothing to do with Manim, but is needed by Manim to render mathematical equations in On a Windows powershell or command prompt (from where you also execute Manim) try what you get when calling You can find MikTex and its installer here: https://miktex.org/howto/install-miktex |
@uwezi Sir, I had MikTeX already Installed. But, still this code, showing an error. Please help. Further, I had run above command, mentioned in your comment (pdflatex --version). This gives me following: C:\Users\akash>pdflatex --version MiKTeX-pdfTeX 2.9.7029 (1.40.20) (MiKTeX 2.9.7050 64-bit) As we can see, there are two version of Latex (since I already had MiTex installed on my Laptop, before installation of Manim) |
can't we continue this discussion on Discord? Checking for new answers on github is a bit cumbersome... Since your operating system seems to be able to find your latex, I have a hard time understanding the cause of your problem. Oh wait a second now... your error message contains 2 parts. I only had seen the second one and assumed that you had omitted something like "latex.exe is not recognized..." but first it says that actually LaTeX was running on your code and produced and error which is supposed to be documented in So I have two questions now: b) what is the content of |
@uwezi ok sir, let's continues on the discord. But, I didn't how to post this question there. Further, I don't know about (a) & (b). Please help. |
On Discord you would start a new discussion in the "help forum" However, let's stay here... a) in your original post you were citing parts of the output you got from Manim. But you left out some essential parts. Something is missing at the beginning of this line b) the message also gives the name of a file on your system |
Closing due to inactivity |
While running simple sample code (which is given in Quick start at Manim community) I am getting Latex error.
here is code:
`from manim import *
class HelloLaTeX(Scene):
def construct(self):
tex = Tex(r"\LaTeX", font_size=144)
self.add(tex)`
this is the error:
ValueError: latex error converting to dvi. See log output above or the log
file: media\Tex\07fd8c4c1d6550a5.log
[6700] Execution returned code=1 in 74.809 seconds returned signal null
Command failed:
'' is not recognized as an internal or external command,
operable program or batch file.
however, I had installed Latex using command
choco install manim-latex
please help.
The text was updated successfully, but these errors were encountered: