3b1b / 3b1b/videos

scenes.py InitialDemo won't work - Errno 13

Aperta
#45 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
11.2k
Fork
2.1k
Merge medio
5h 49m
PR unite (30g)
3

Descrizione

Hi there,

Per the title, I can't get scenes.py InitialDemo to work. Here is my the terminal output:

```python
(base) jake@Jake-PC-UBU20:~/Documents/videos-master/_2022/wordle$ manimgl scenes.py InitialDemo
ManimGL v1.5.0
Traceback (most recent call last):
File "/home/jake/anaconda3/bin/manimgl", line 8, in
sys.exit(main())
File "/home/jake/anaconda3/lib/python3.9/site-packages/manimlib/__main__.py", line 25, in main
scene.run()
File "/home/jake/anaconda3/lib/python3.9/site-packages/manimlib/scene/scene.py", line 78, in run
self.setup()
File "scenes.py", line 964, in setup
super().setup()
File "scenes.py", line 334, in setup
self.show_possible_words()
File "scenes.py", line 521, in show_possible_words
shown_words = self.get_shown_words()
File "scenes.py", line 489, in get_shown_words
return self.get_grid_of_words(
File "scenes.py", line 266, in get_grid_of_words
full_text_mob = Text(full_string, font="Consolas", font_size=font_size)
File "/home/jake/anaconda3/lib/python3.9/site-packages/manimlib/mobject/svg/text_mobject.py", line 70, in __init__
file_name = self.text2svg()
File "/home/jake/anaconda3/lib/python3.9/site-packages/manimlib/mobject/svg/text_mobject.py", line 236, in text2svg
dir_name = get_text_dir()
File "/home/jake/anaconda3/lib/python3.9/site-packages/manimlib/utils/directories.py", line 20, in get_text_dir
return guarantee_existence(os.path.join(get_temp_dir(), "Text"))
File "/home/jake/anaconda3/lib/python3.9/site-packages/manimlib/utils/file_ops.py", line 16, in guarantee_existence
os.makedirs(path)
File "/home/jake/anaconda3/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/jake/anaconda3/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/jake/anaconda3/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
[Previous line repeated 2 more times]
File "/home/jake/anaconda3/lib/python3.9/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/Users'
```

I'm running Ubuntu 20.04, Python 3.9, all dependencies installed. ```simulations.py``` runs fine. I downloaded the repository and am running the code from documents/videos-master/_2022/wordle - in this directory is ```custom```, ```data```,```__pycache__```, ```custom_config.yml```,```footnote.py```,```manim_imports_ext.yml```,```scenes.py``` and ```simulations.py```. Both .py files have the ```import sys sys.path.append...``` fix. Any insight into what I need to do to fix this would be mighty appreciated!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.