Skip to content
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

I can't render my animations #3840

Open
joaomachads opened this issue Jul 5, 2024 · 3 comments
Open

I can't render my animations #3840

joaomachads opened this issue Jul 5, 2024 · 3 comments
Labels
installation Everything concerning the installation process

Comments

@joaomachads
Copy link

Description of bug / unexpected behavior

I have already installed Manim. I have also installed the Manim Side View extention (VS code), but it won't render the test script.

I have tried reinstalling it a few times, changing the extension's default manim path, running a command to try rendering it without the extention and nothing.

The output to the command checkhealth is this:

Fatal error in launcher: Unable to create process using '"C:\Python311\python.exe" "C:\tools\Manim\Scripts\manim.exe" checkhealth': O sistema nÒo pode encontrar o arquivo especificado.

(last line is in portuguese - "system could not find the specified file")

Expected behavior

Manim SV should render the animation as soon as I clicked the "set a side view" icon on top right, or when I inputed the terminal commad.

from manim import *


class CreateCircle(Scene):
    def construct(self):
        circle = Circle()  # create a circle
        circle.set_fill(PINK, opacity=0.5)  # set the color and transparency
        self.play(Create(circle))  # show the circle on screen
        
@github-project-automation github-project-automation bot moved this to 🆕 New in Dev Board Jul 5, 2024
@JasonGrace2282 JasonGrace2282 added the installation Everything concerning the installation process label Jul 6, 2024
@mdhvg
Copy link

mdhvg commented Oct 17, 2024

Can you please write the command you were using to run manim?

@KeJunMao
Copy link

Select your Manim interpreter in vscode, or try run this

"C:\tools\Manim\python.exe" "C:\tools\Manim\Scripts\manim.exe"

@mdhvg
Copy link

mdhvg commented Oct 19, 2024

Select your Manim interpreter in vscode, or try run this

"C:\tools\Manim\python.exe" "C:\tools\Manim\Scripts\manim.exe"

Sorry for the late response...
When any module is called from python using python {module}, python tries treating it as a .py file instead. So, to run manim, you would need to use the -m flag like so, python -m maim [manim flags] filename.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Everything concerning the installation process
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants