OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Latex failed whilst using Manim

  • Thread starter Thread starter Dhdhdh
  • Start date Start date
D

Dhdhdh

Guest
I am new to Manim and tried to create a matrix. I installed MacTex using the command brew install --cask mactex-no-gui and it all installed fine I went to run my code in a jupyter file

Code:
%%manim -qm FirstExample
mat = np.array([[1, 0, 1], [2, 1, 0]])
class FirstExample(Scene):
    def construct(self):
        matr = Matrix(mat)
        self.play(matr)

and got the following error message RuntimeError: latex failed but did not produce a log file. Check your LaTeX installation.

Not really sure what I have done wrong given I just followed the Manim installation guide so any help would be appreciated
<p>I am new to Manim and tried to create a matrix. I installed MacTex using the command
<code>brew install --cask mactex-no-gui</code>
and it all installed fine
I went to run my code in a jupyter file</p>
<pre><code>%%manim -qm FirstExample
mat = np.array([[1, 0, 1], [2, 1, 0]])
class FirstExample(Scene):
def construct(self):
matr = Matrix(mat)
self.play(matr)
</code></pre>
<p>and got the following error message
<code>RuntimeError: latex failed but did not produce a log file. Check your LaTeX installation.</code></p>
<p>Not really sure what I have done wrong given I just followed the Manim installation guide so any help would be appreciated</p>
 

Latest posts

Online statistics

Members online
0
Guests online
3
Total visitors
3
Ads by Eonads
Top