-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Installing on MacOS - A Series of Missing Modules #2227
Comments
This is because ManimGL 1.7.0 has not yet been released on PyPI. The version you are downloading through pip, is very old and doesn't support new versions of Python. For now, you can download the repository and install ManimGL from the repository itself by running @3b1b It would be great to update the actual PyPI package to version 1.7.0, so people don't have problems downloading ManimGL through PyPI. This will close many issues related to 1.6.1. |
I just updated it on PyPI. Does the newer version work for you? |
It works perfectly. Thank you very much! |
Do you want me to compile a list of issues that are based on errors when starting the 1.6.1 version of Manim in newer Python environments? Now that the PyPI package has been updated, we can just notify the issue authors and close them. In case someone reopens them, we would be happy to investigate further. |
Sure, that'd be very helpful. Thanks! |
I've tested the PyPI release in a sandbox, it works, but there's one dependency that is not in the package list and is not installed by pip when installing manimgl. We have to add List of issues related to running ManimGL 1.6.1 in newer Python versionsMany libraries, such as numpy are not backwards compatible. So, when running newer versions of Python, pip installs newer packages. Particularly numpy after 1.24 made some changes that broke ManimGL 1.6.1 (when Manim was comparing some set of points, there was a dimensionality mismatch of arrays, this is not allowed anymore in the newer numpy versions. It throws an error). At the same time, numpy<=1.24 cannot be installed on newer Python versions.
|
I see, I just added that. What's the simplest way to add that dependency, it feels a little silly to add a whole new release (as you can tell, this is unfamiliar territory for me). |
Unfortunately, there's no way to update the PyPI package without releasing a new one. Just bumping the minor version from 1.7.0 to 1.7.1 is totally fine. In fact, this is not silly, more frequent releases are recommended if the API doesn't break. This way we provide the latest bug fixes to newcomers and to old users as well. If you believe that just bumping this dependency is not worth it, I suggest waiting for a few more bug fixes and maybe giving me some time to test a few more critical things that need fixing. I have trouble with the |
This worked after installing
|
I am trying to install ManimGL after watching the latest 3B1B video.
I am on a M3 Macbook Pro.
I ran
pip3 install manimgl
which worked.Then I tried the
manimgl example_scenes.py OpeningManimExample
command which was supposed to render a scene.Instead an error showed up that read:
I attempted to resolve this by installing
setuptools
separately, usingpip3 install setuptools
Then I ran the same
manimgl
command again but met another error:I then tried
pip3 install mapbox-earcut
but got this:At this point I can't manually install anything extra, so I am stuck.
Has this issue happened to anyone else? I would really appreciate your help! Thanks in advance.
The text was updated successfully, but these errors were encountered: