Value Error
- Langage dominant
- Python
- Étoiles
- 93.9k
- Forks
- 7.7k
- Merge moyen
- 2 j 13 h
- PR mergées (30 j)
- 4
Description
While trying the example in the README.md, I get the error:
`D:\manim-master>python extract_scene.py example_scenes.py SquareToCircle -pl
Traceback (most recent call last):
File "extract_scene.py", line 283, in
main()
File "extract_scene.py", line 243, in main
module = get_module(config["file"])
File "extract_scene.py", line 237, in get_module
return get_module_windows(file_name)
File "extract_scene.py", line 222, in get_module_windows
last_module = imp.load_module(part, *load_args)
File ".\example_scenes.py", line 4, in
from .big_ol_pile_of_manim_imports import *
ValueError: Attempted relative import in non-package`
What do I do?
EDIT:
I did a bit of research and instead of using
`python extract_scene.py example_scenes.py SquareToCircle -pl`
I used
`python -m big_ol_pile_of_manim_imports extract_scene.py example_scenes.py SquareToCircle -pl`
Now I don't get any error, but I don't get any preview or output either :P
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.