Value Error
- Linguagem predominante
- Python
- Estrelas
- 93.9k
- Forks
- 7.7k
- Merge médio
- 2d 13h
- PRs com merge (30d)
- 4
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.