manim side view does not pop up, Error: spawn manim ENOENT[undefined]
Manim sideview was working just fine when i first install it, but then i try to tidy up my library and this error occurred. I think I might have accidentally delete something, but I don't remember what exactly i deleted.
Not sure what i did wrong here and I don't understand what the error mean. When i click the sideview button, this just popped up in the terminal, can anyone please explain to me what's going on and how to fix this? Tysm.
Seems more like a manim specific issue rather than an issue that is related to this extension. Can you run manim manually in your terminal? manim "c:\Users\emily\Documents\practice\example1" Scene1
If that does not work, you should go ahead and reinstall manim.
If that does not work, you should go ahead and reinstall manim.
i have ran it manually and reinstalled manim too, but the error remains. Is there anything else i can do?
If that does not work, you should go ahead and reinstall manim.
i have ran it manually and reinstalled manim too, but the error remains. Is there anything else i can do?
does running manually work?
How did you install Manim? This seems like an issue of the manim executable not being on path.
How did you install Manim? This seems like an issue of the manim executable not being on path.
i installed it by chocolatey
If that does not work, you should go ahead and reinstall manim.
i have ran it manually and reinstalled manim too, but the error remains. Is there anything else i can do?
does running manually work?
no it doesn't work
If that does not work, you should go ahead and reinstall manim.
i have ran it manually and reinstalled manim too, but the error remains. Is there anything else i can do?
does running manually work?
no it doesn't work
Then you firstly need to find out how to even run manim locally.
There should be guides on this online, you can also try to use a different installation method if you current one does not work.
The official docs lists a bunch of different methods: https://docs.manim.community/en/stable/installation/windows.html
What worked for me is that I am running manim in a virtual environment and so I make sure that I am running my VSCode in my virtual environment.
Steps:
- Open CMD
- Activate your virtual environment ( .[your virtual env]\Scripts\activate )
- Check if manim is installed properly ( manim --version )
- If it is installed then proceed to VSCode, if not install manim using pip ( pip install manim )
- In VSCode, change your python interpreter to the virtual environment where manim was installed earlier.
- Click on File --> Preferences --> Settings.
- In Settings, search manim
- In Default Manim Path, type in your manim path 8.a To find your manim path, in cmd that you have opened earlier type ( where manim ), copy the path and paste in Default Manim Path
- Change the Manim Sideview to the version that you got from Step 3.
Hopefully, this works for you!