3b1b / videos

Code for the manim-generated scenes used in 3blue1brown videos
5.79k stars 1.55k forks source link

`manimgl wordle.py InitialDemo` get an error #26

Closed nwulqx closed 2 years ago

nwulqx commented 2 years ago

AttributeError: 'numpy.ndarray' object has no attribute 'get_coord'

image image

Package Version
manimgl v1.2.0 or latest
MiKTeX v22.1
System information name Version
windows 10
Python 3.10.2
  1. I have already installed manimgl
  2. I got pattern_matrix.npy by running python wordle.py
  3. When I ran manimgl wordle.py InitialDemo, I got the error, but I don't know where I was wrong
ivanhrabcak commented 2 years ago

I am experiencing the same issue (with windows 11, python 3.10, latest MikTeX, latest manimgl)

KodySalak commented 2 years ago

Same here - Gave up after this.

johnsoe2 commented 2 years ago

You need to switch to the video-work branch of the manim repo, which has not yet been merged into the master branch.

c:\Users\XXX\manim>git checkout video-work Switched to a new branch 'video-work' Branch 'video-work' set up to track remote branch 'video-work' from 'origin'.

3b1b commented 2 years ago

That branch has now been merged into manimgl's master. Hopefully, it works okay now?

nwulqx commented 2 years ago

That branch has now been merged into manimgl's master. Hopefully, it works okay now?

Yes, It works. Thanks a million. 👍