videos
videos copied to clipboard
More details on how to run the wordle code
I tired everything fixed import errors and finally got the program working but getting this now and I have no idea how to fix this
`manim _2022/wordle/scenes.py InitialDemo Manim Community v0.14.0
[02/09/22 23:04:07] ERROR module_ops.py:75 There are no scenes inside that module
[23:04:07] ERROR module_ops.py:75 There are no scenes inside that module`
You are not meant to run it with the community version of manim. Try using 3b1b's version instead. I hope this helps
You are not meant to run it with the community version of manim. Try using 3b1b's version instead. I hope this helps
And we install that version how?
pip install manimgl
Because, this is what i'd install as there is nothing really telling us what to install
My bad, I should have linked it. Here are the instructions: https://github.com/3b1b/manim#installation
When running wordle.py InitialDemo all I get is the script, without any of the options shown in the video. How do I load the UI he created to do the guesses in live time?
here is a screenshot of what I see in the terminal when running python script.
I only have 3b1b's version of manim installed.
I use "manimgl _2022/wordle.py InitialDemo" to launch it, just like what the video shows.
I use "manimgl _2022/wordle.py InitialDemo" to launch it, just like what the video shows.
"wordle.py" isn't a file anymore in the latest branch/main branch. What should I/we do instead?
scenes.py
I believe
scenes.py
I believe
Running the command: manimgl _2022/scenes.py InitialDemo
from the videos
directory/folder gives the following error.
ManimGL v1.4.1
Traceback (most recent call last):
File "/home/ori/Desktop/videos/wrdlENV/bin/manimgl", line 8, in <module>
sys.exit(main())
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/__main__.py", line 21, in main
config = manimlib.config.get_configuration(args)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/config.py", line 294, in get_configuration
module = get_module(args.file)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/config.py", line 178, in get_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/ori/Desktop/videos/_2022/wordle/scenes.py", line 1, in <module>
from manim_imports_ext import *
ModuleNotFoundError: No module named 'manim_imports_ext'
Running the same command from the same place but without InitialDemo
gives the following error.
ManimGL v1.4.1
Traceback (most recent call last):
File "/home/ori/Desktop/videos/wrdlENV/bin/manimgl", line 8, in <module>
sys.exit(main())
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/__main__.py", line 21, in main
config = manimlib.config.get_configuration(args)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/config.py", line 294, in get_configuration
module = get_module(args.file)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/config.py", line 178, in get_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/ori/Desktop/videos/_2022/wordle/scenes.py", line 1, in <module>
from manim_imports_ext import *
ModuleNotFoundError: No module named 'manim_imports_ext'
I am running the command out of the main videos directory and manim_imports_ext
exist there and in the same directory scenes.py
exist in.
anything else to help?
Try to add this to the begin of scenes.py to fix with the manim_imports_ext
import sys sys.path.append(".") sys.path.append("..")
also change from simulations import *
to from _2022.wordle.simulations import *
from the /videos folder I'm using this command to run:
manimgl _2022/wordle/scenes.py
I'm able to run quite a few scenes, however the InitialDemo returns an numpy.append error.
Try to add this to the begin of scenes.py to fix with the manim_imports_ext
import sys sys.path.append(".") sys.path.append("..")
also change
from simulations import *
tofrom _2022.wordle.simulations import *
from the /videos folder I'm using this command to run:
manimgl _2022/wordle/scenes.py
I'm able to run quite a few scenes, however the InitialDemo returns an numpy.append error.
That seems to have worked for me. Howver, I can run the WordleScene [76] just fine but any others relating to wordle gives me this and idk what to do or what it is.
[16:24:58] ERROR LaTeX Error! Not a worry, it happens to the best of us. tex_file_writing.py:90
DEBUG The error could be: `LaTeX Error: File `standalone.cls' not tex_file_writing.py:94
found.`
DEBUG The error could be: `Emergency stop.`
Scene [73] throws the following error:
Traceback (most recent call last):
File "/home/ori/Desktop/videos/wrdlENV/bin/manimgl", line 8, in <module>
sys.exit(main())
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/__main__.py", line 25, in main
scene.run()
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/scene/scene.py", line 76, in run
self.setup()
File "/home/ori/Desktop/videos/./custom/characters/pi_creature_scene.py", line 269, in setup
PiCreatureScene.setup(self)
File "/home/ori/Desktop/videos/./custom/characters/pi_creature_scene.py", line 42, in setup
self.pi_creatures = VGroup(*self.create_pi_creatures())
File "/home/ori/Desktop/videos/./custom/characters/pi_creature_scene.py", line 279, in create_pi_creatures
self.teacher = Mortimer(color=self.teacher_color)
File "/home/ori/Desktop/videos/./custom/characters/pi_creature.py", line 70, in __init__
SVGMobject.__init__(self, file_name=svg_file, **kwargs)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/mobject/svg/svg_mobject.py", line 118, in __init__
self.file_path = get_full_vector_image_path(file_name)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/utils/images.py", line 18, in get_full_vector_image_path
return find_file(
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/utils/file_ops.py", line 47, in find_file
raise IOError(f"{file_name} not Found")
OSError: /Users/grant/Dropbox/3Blue1Brown/images/pi_creature/svg/plain.svg not Found
The only scenes that run without erroring for me are 74 and 76.
You are missing one of manimgl requirements, Latex. https://github.com/3b1b/manim#installation
The second error I also get it. It seems to be an image that is missing from the github files.
You are missing one of manimgl requirements, Latex. https://github.com/3b1b/manim#installation
The second error I also get it. It seems to be an image that is missing from the github files.
The link seems broken. It takes me to the issues
of this repo but with it saying no results matched your search. How do I install Latex?
Nvm, You just had a different link pasted and it took me somewhere else.
Try to add this to the begin of scenes.py to fix with the manim_imports_ext
import sys sys.path.append(".") sys.path.append("..")
also change
from simulations import *
tofrom _2022.wordle.simulations import *
from the /videos folder I'm using this command to run:
manimgl _2022/wordle/scenes.py
I'm able to run quite a few scenes, however the InitialDemo returns an numpy.append error.
Maybe I'm just an idiot, but when I add this I just get thrown a syntax error
C:\sims\videos-master>manimgl _2022/wordle/scenes.py InitialDemo ManimGL v1.4.1 Traceback (most recent call last): File "c:\users\minec\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main return run_code(code, main_globals, None, File "c:\users\minec\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code exec(code, run_globals) File "C:\Users\minec\AppData\Local\Programs\Python\Python39\Scripts\manimgl.exe_main.py", line 7, in
File "c:\users\minec\appdata\local\programs\python\python39\lib\site-packages\manimlib_main .py", line 21, in main config = manimlib.config.get_configuration(args) File "c:\users\minec\appdata\local\programs\python\python39\lib\site-packages\manimlib\config.py", line 294, in get_configuration module = get_module(args.file) File "c:\users\minec\appdata\local\programs\python\python39\lib\site-packages\manimlib\config.py", line 178, in get_module spec.loader.exec_module(module) File "", line 846, in exec_module File " ", line 983, in get_code File " ", line 913, in source_to_code File " ", line 228, in _call_with_frames_removed File "_2022/wordle/scenes.py", line 1 import sys sys.path.append(".") sys.path.append("..") ^ SyntaxError: invalid syntax
import sys sys.path.append(".") sys.path.append("..") ^ SyntaxError: invalid syntax`
I had similar error until I split that line like so: import sys sys.path.append(".") sys.path.append("..")
I'm able to run quite a few scenes, however the InitialDemo returns an numpy.append error.
To solve the numpy error, 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'.
To solve the numpy error, you need to switch to the video-work branch of the manim repo, which has not yet been merged into the master branch.
My problem here was:
PermissionError: [Errno 13] Permission denied: '/Users/grant
However, I realized that I should have been running this with security privileges. I'm not sure if there's another way to grant permission or I skipped a step during installation but I've used sudo
instead, like so:
sudo manimgl _2022/wordle/scenes.py InitialDemo
This fixed the problem and I was able to try out today's Wordle. Anyone has an idea about the text fonts being generic on Mac? I did install LaTeX dependencies using brew install --cask mactex
but maybe I should do something additional.
February 13th 2022, Wordle for "robin"
@emirtarik
What scene do you use for that? I still don't know what to choose. I wish it was just as simple as running a python file passing in a file list and then done. idk what happened after that/his video came out. It's like it got nuked and made way harder to play with.
@emirtarik
What scene do you use for that? I still don't know what to choose. I wish it was just as simple as running a python file passing in a file list and then done. idk what happened after that/his video came out. It's like it got nuked and made way harder to play with.
Use scene 77. You can set the secret word to whatever you want by replacing self.secret_word = random.choice(s_words) with self.secret_word = "words" (be sure that secret word is lower case, upper case does not work)
Use scene 77. You can set the secret word to whatever you want by replacing self.secret_word = random.choice(s_words) with self.secret_word = "words" (be sure that secret word is lower case, upper case does not work)
Running Scene 77 throws the following numpy error:
Traceback (most recent call last):
File "/home/ori/Desktop/videos/wrdlENV/bin/manimgl", line 8, in <module>
sys.exit(main())
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/__main__.py", line 25, in main
scene.run()
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/scene/scene.py", line 76, in run
self.setup()
File "/home/ori/Desktop/videos/_2022/wordle/scenes.py", line 331, in setup
self.add_guess_value_grid_title()
File "/home/ori/Desktop/videos/_2022/wordle/scenes.py", line 358, in add_guess_value_grid_title
underline.match_y(first.get_bottom() + 0.025 * DOWN)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/mobject/mobject.py", line 1195, in match_y
return self.match_coord(mobject, 1, direction)
File "/home/ori/Desktop/videos/wrdlENV/lib/python3.10/site-packages/manimlib/mobject/mobject.py", line 1186, in match_coord
mobject.get_coord(dim, direction),
AttributeError: 'numpy.ndarray' object has no attribute 'get_coord'
I am unsure on how to install the manimgl video-work branch within a python virtual-environment(on linux). Normally I'd just install it via pip but, there isn't really a clear way that shows me how to change the branch I am using to the video-work branch..so I guess i'd have to wait for that to be merged into the main branch?
I am unsure on how to install the manimgl video-work branch
to switch branches, from the manim folder: git checkout video-work