Comments (14)
just so anyone wondering how to get the get_directories() function is by :
from manimlib.utils.directories import get_directories
from videos.
It is a setting in the yml file
from videos.
directories:
mirror_module_path: True
output: "/Users/grant/Dropbox/3Blue1Brown/videos"
raster_images: "/Users/grant/Dropbox/3Blue1Brown/images/raster"
vector_images: "/Users/grant/Dropbox/3Blue1Brown/images/vector"
pi_creature_images: "/Users/grant/Dropbox/3Blue1Brown/images/pi_creature/svg"
sounds: "/Users/grant/Dropbox/3Blue1Brown/sounds"
data: "/data"
temporary_storage: "/Users/grant/Dropbox/3Blue1Brown/manim_cache"
universal_import_line: "from manim_imports_ext import *"
from videos.
I'm having the same issue. can't seem to find this data directory.
from videos.
Can anyone help with this?
C:\Users\Name\AppData\Local\Programs\Python\Python38\lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "C:/Users/Name/Desktop/videos-master/videos-master/_2022/wordle.py", line 10, in
DATA_DIR = os.path.join(get_directories()["data"], "wordle")
KeyError: 'data
'
from videos.
Set the path in custom_config.yml and drag it into the folder
from videos.
Set the path to the "wordle_data" folder in directories "temporary_storage" ?
from videos.
from videos.
Thanks, seems to have solved the issue. Only problem is manim imports remain unresolved and now pattern_matrix.npy cannot be retrieved.
from videos.
@Nata-4681, if you edit the custom_config.yml to change the 'data' field like "./data" make sure to create a local dir data and a subdir wordle inside it.
from videos.
@Nata-4681, if you edit the custom_config.yml to change the 'data' field like "./data" make sure to create a local dir data and a subdir wordle inside it.
I followed the comments in this thread and have the same issue. Created the local data directory with the subdirectory of wordle. When running the python script, it spits out the NPY file but I see no other graphics. When trying to run the python script via command line, I have the same error:
DATA_DIR = os.path.join(get_directories()["data"], "wordle")
KeyError: 'data'
from videos.
@Nata-4681, if you edit the custom_config.yml to change the 'data' field like "./data" make sure to create a local dir data and a subdir wordle inside it.
I followed the comments in this thread and have the same issue. Created the local data directory with the subdirectory of wordle. When running the python script, it spits out the NPY file but I see no other graphics. When trying to run the python script via command line, I have the same error: DATA_DIR = os.path.join(get_directories()["data"], "wordle") KeyError: 'data'
Nevermind I figured it out, was attempting to run the wordle.py from the wrong subdirectory. After running it out from manim folder, it ran perfectly. Thank you.
from videos.
I realized I am actually missing the file itself.. and I cannot find it in the GitHub folder either? Where does one find pattern_matrix.npy? Forgive me if I am missing it but for some reason it is not there?
from videos.
I realized I am actually missing the file itself.. and I cannot find it in the GitHub folder either? Where does one find pattern_matrix.npy? Forgive me if I am missing it but for some reason it is not there?
It is generated, along with the other files not found in the folder, upon the first iteration
from videos.
Related Issues (20)
- Missing animation / simulation for Betrand's paradox
- ModuleNotFoundError: No module named 'manimlib.scene.interactive_scene' HOT 1
- Probability distribution of patterns and entropy calculation HOT 1
- cannot run examples for lake of image resources
- 2017 /fractal_dimension.py
- _2017/nn completely unusable HOT 1
- Ideas
- Catio
- An example of manim pi creature scene with different emotions of them HOT 2
- No module named 'manimlib.mobject.svg.old_tex_mobject' HOT 2
- Manimgl does not find the imports. HOT 3
- Mode "skeptical" does not exist
- What the f- is manim_imports_ext HOT 2
- cant install 'custom' HOT 2
- Where can I find the sound effects `clack.wav` and `pen_click.wav` that are used in some of the videos?
- manim compiler read triple comma comment but # comment
- Unresolved reference 'InteractiveScene'
- No module named 'manim_imports_ext HOT 1
- Can someone help me with running Grant's new codes with manimGL? Many thanks. HOT 1
- Hgghh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videos.