No module named 'manimlib.__main__'
See original GitHub issueI followed the steps of the macOS installation cited in the README:
git clone https://github.com/3b1b/manim.git
cd manim
pip install -e .
manimgl example_scenes.py OpeningManimExample
But when I run the last command, this error appears:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/manimgl", line 6, in <module>
from manimlib.__main__ import main
ModuleNotFoundError: No module named 'manimlib.__main__'
I don’t know how to solve it, but I suspect it might have something to do with the previous manim installation I had. I moved the manim folder to another directory when I cloned the new version. Don’t know how to fix this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
No module named manimlib : r/manim - Reddit
No module named manimlib. I have tried many different ways to install manim. My latest method is to copy the code from git...
Read more >Why do I have an error while running Manim inside PyCharm?
When I run main.py : ... import * ModuleNotFoundError: No module named 'manimlib.imports'**. And there is manimlib directory inside manim.
Read more >ModuleNotFoundError: No module named 'manimlib'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'manimlib' How to remove the ModuleNot.
Read more >manimlib - PyPI
Manim is an animation engine for explanatory math videos. It's used to create precise animations programmatically, as seen in the videos at 3Blue1Brown....
Read more >manim - Bountysource
... line 155, in main scene = SceneClass(**scene_kwargs) File ... from manimlib.imports import * ModuleNotFoundError: No module named 'manimlib.imports'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You might be running a different
manimgl
command or something?Try installing manim in a virtualenv. I think something like this on macOS
I had reinstall many times, but it’s still not work. Then I tried @niedong 's method, it’s work. Anyway, thank you!