-
Notifications
You must be signed in to change notification settings - Fork 11
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
Manim working in Terminal, but extension can't find ffmpeg #98
Comments
Hey, it might be that your environment differs when running manim via ZSH compared to via the extension (Although I don't know which bash the extension even uses). It might be that the extension tries to run manim via bash, which looks for a ~/.bashrc, which doesn't contain an To fix this you might wanna try what it suggests:
There should be a way to do the second one, although I am not exactly the most familiar with Manim and its configuration. I don't know whether the first one is possible, depends on the current implementation and how the extension starts Manim. @Rickaym could you please provide further clarification? |
Have you installed FFMPEG correctly? |
@Rickaym
However Manim Sideview appears to detect the conda environment but not inherit the path environment variables set by the environment. While I could manually add ffmpeg from the conda environment to the path, I really don't want to do this, the extension should inherit any path environment variables set by the environment I am in.
|
Interesting. So it looks like the venv is being set properly, just that it's not picking up FFMPEG. I'll try on my side. comment ref: https://www.youtube.com/watch?v=sFpFlMEu7OY&lc=UgwAf8EysGh04b5OTZl4AaABAg |
It might be that the environment variables are shell specific. You seem to be using |
While it looks like I am using Terminal app:
VS Code integrated terminal:
I will include both the
|
Same problem using Pixi instead of Conda, although I believe the mechanism is the same. |
Hi,
I installed manim to a conda environment on my Mac. I activated the environment and ran it with success:
I opened the manim_test.py file in VS Code, changed the python interpreter to my manim-env. When I run the Manim Sideview extension I get this:
I have to say I am very new to coding, so am not quite sure what to do.
The text was updated successfully, but these errors were encountered: