#VSCode doesn't detect manim library
15 messages ยท Page 1 of 1 (latest)
Are you able to run the script normally with python? If so, it's possible that Pylance isn't able to locate manim in whatever interpreter it has (this is if you have multiple Python versions).
If you know what version you installed manim to, you can select it in VSCode by opening the Command Palette (Ctrl + Shift + P), typing "Select Interpreter" and choosing the correct option from the panel that comes up. Here's an example of how that would look.
I have python 3.12.5 which all scripts work on
when compiled, it shows this message: ModuleNotFoundError: No module named 'manim.animation'; 'manim' is not a package
I just installed openai-whisper library and it worked instantly, but I can't get the manim to work
Do you perchance have a file named manim.py?
yes
changed the name and it's fixed
but it still doesnt recognize this part
hm maybe its unnecessary or the library changed
thanks anyway ๐
yeah, that doesn't seem to be a thing according to the docs
it's manim.animation.creation.Write
thanks ๐