-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
TypeError: 'staticmethod' object is not callable #2126
Comments
I meet the same problem |
I am also having the same error. |
1 similar comment
I am also having the same error. |
Same Error. Any idea now? |
I upgraded from Python 3.8 to 3.10! Hope that helps |
I solved it by commenting out all In your environment, they are:
So try to replace all the |
i have same issue |
The comment above about python 3.10 helped me. This was on OSX For noobs here is a tutorial : You might need to download python3.10. I had several python versions, and for. me 3.10 vas available at Locate python 3.10 or higher and create a virtual environment using it.
Then , activate the venv
Now, you can try to use the python command again, and now the version is 3.10 Then install Then run the example |
Currently working python version to me is 3.10.14 (3.12 (numpy) and 3.9 (@staticmethod) both fall to my compiler) (On M1 MacOS 15.0-beta) |
Describe the error
Once I've installed the conda environment, after installing the dependencies in the requirements, executing manimgl comes up. The installation configuration is the reference https://docs.manim.org.cn/.
Code and Error
Code:
(manim) E:\manim>manimgl
Error:
Traceback (most recent call last):
File "E:\anaconda\envs\manim\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "E:\anaconda\envs\manim\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "E:\anaconda\envs\manim\Scripts\manimgl.exe_main.py", line 4, in
File "E:\manim\manimlib_init.py", line 14, in
from manimlib.animation.animation import *
File "E:\manim\manimlib\animation\animation.py", line 5, in
from manimlib.mobject.mobject import _AnimationBuilder
File "E:\manim\manimlib\mobject\mobject.py", line 64, in
class Mobject(object):
File "E:\manim\manimlib\mobject\mobject.py", line 230, in Mobject
def set_data(self, data: np.ndarray) -> Self:
TypeError: 'staticmethod' object is not callable
Environment
OS System:
manim version: master
python version:Python 3.8.19
The text was updated successfully, but these errors were encountered: