NameError: name 'VectorScene' is not defined ___ Help? #1726
Unanswered
schwaigere02
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am fairly new to manim and python, and wanted to get a foot in with some youtube tutorials about vectorspaces (which is what i installed manim for in the firstplace) but when I try to render the scene, log only spits out this:
PS C:\Users\elias\Desktop\Uni\MANIM\Manim\manim> python -m manimlib Vectors.py Vectors
ManimGL v1.4.0
[22:58:33] INFO Using the default configuration file, which you can modify in config.py:259
c:\users\elias\desktop\uni\manim\manim\manim\manimlib\default_config.ymlINFO If you want to create a local configuration file, you can create a file named
custom_config.yml, config.py:260 or runmanimgl --configcause OSError. So it is recommended to specify the
temporary_storagein the config file (.yml)Traceback (most recent call last):
File "C:\Users\elias\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\elias\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\elias\Desktop\Uni\MANIM\Manim\manim\manimlib_main.py", line 29, in
main()
File "C:\Users\elias\Desktop\Uni\MANIM\Manim\manim\manimlib_main.py", line 21, in main
config = manimlib.config.get_configuration(args)
File "C:\Users\elias\Desktop\Uni\MANIM\Manim\manim\manimlib\config.py", line 294, in get_configuration
module = get_module(args.file)
File "C:\Users\elias\Desktop\Uni\MANIM\Manim\manim\manimlib\config.py", line 178, in get_module
spec.loader.exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "Vectors.py", line 3, in
class Vectors(VectorScene):
NameError: name 'VectorScene' is not defined
I really am stuck here and don't know what to do to fix this. Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions