You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like ManimGL is no longer compatible with Python < 3.10, as, prior to this Python version, @staticmethod were not regular callable (hence, using them as a wrapper didn't work).
manim_slides/slide/manimlib.py:4: in <module>
from manimlib import Scene, ThreeDCamera
.venv/lib/python3.9/site-packages/manimlib/__init__.py:12: in <module>
from manimlib.window import *
.venv/lib/python3.9/site-packages/manimlib/window.py:20: in <module>
class Window(PygletWindow):
.venv/lib/python3.9/site-packages/manimlib/window.py:117: in Window
def on_mouse_motion(self, x: int, y: int, dx: int, dy: int) -> None:
E TypeError: 'staticmethod' object is not callable
Additional context
See:
Static methods (@staticmethod) and class methods (@classmethod) now inherit the method attributes (module, name, qualname, doc, annotations) and have a new wrapped attribute. Moreover, static methods are now callable as regular functions. (Contributed by Victor Stinner in bpo-43682.)
Describe the bug
It looks like ManimGL is no longer compatible with Python < 3.10, as, prior to this Python version,
@staticmethod
were not regular callable (hence, using them as a wrapper didn't work).See here https://stackoverflow.com/a/76237739.
Code:
Wrong display or Error traceback:
Additional context
See:
from https://docs.python.org/3/whatsnew/3.10.html
The text was updated successfully, but these errors were encountered: