Closed NikoMolecule closed 6 months ago
Hello @NikoMolecule, thank you for reporting this issue!
If manim-slides --version
fails, can you show what pip show manim_slides
outputs?
Second, manim-slides .\example_scenes.py rectangle
is not a valid command.
If you want to render the slide, please use manim-slides render --GL .\example_scenes.py rectangle
. If you want to present them, please use manim-slides rectangle
.
Hi @jeertmans when using pip show manim_slides
it outputs this:
Name: manim-slides
Version: 5.1.3
Summary: Tool for live presentations using manim
Home-page:
Author:
Author-email: Jérome Eertmans <jeertmans@icloud.com>
License: MIT
Location: c:\python39\lib\site-packages
Requires: av, click, click-default-group, jinja2, lxml, numpy, opencv-python, pillow, pydantic, pydantic-extra-types, python-pptx, qtpy, requests, rich, rtoml, tqdm
Required-by:
and when running both of the lines u told me to use when rendering slide, it still gave me same error.
Can you check the version of Pydantic? pip show pydantic
@jeertmans it outputed this:
Name: pydantic
Version: 2.6.4
Summary: Data validation using Python type hints
Home-page:
Author:
Author-email: Samuel Colvin <s@muelcolvin.com>, Eric Jolibois <em.jolibois@gmail.com>, Hasan Ramezani <hasan.r67@gmail.com>, Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>, Terrence Dorsey <terry@pydantic.dev>, David Montague <david@pydantic.dev>, Serge Matveenko <lig@countzero.co>, Marcelo Trylesinski <marcelotryle@gmail.com>, Sydney Runkle <sydneymarierunkle@gmail.com>, David Hewitt <mail@davidhewitt.io>
License:
Location: c:\python39\lib\site-packages
Requires: annotated-types, pydantic-core, typing-extensions
Required-by: inflect, manim-slides, pydantic-extra-types
Are you using Python 3.9.7? Looks like this is an issue due to this Python version, see https://github.com/microsoft/semantic-kernel/issues/4430#issuecomment-1912617602 and https://github.com/pydantic/pydantic/issues/7745#issuecomment-1748812800. The best solution might be to upgrade your Python version :-)
@jeertmans I deleted python 3.9.7. and installed 3.11.9 and now when typing manim-slides --version i get this error:
'manim-slides' is not recognized as an internal or external command,
operable program or batch file.
even tho pip show manim-libs
prints output
@jeertmans I deleted python 3.9.7. and installed 3.11.9 and now when typing manim-slides --version i get this error:
'manim-slides' is not recognized as an internal or external command, operable program or batch file.
even tho
pip show manim-libs
prints output
This just means you either did not install Manim slides correctly, or that the script is installed in a folder that is not located in PATH. Google that error and you should find a solution, this is a very common issue :)
@jeertmans well i tried to fix it and when calling python -m manim-slides
i got this error:
C:\Program Files\Python311\python.exe: No module named manim-slides.__main__; 'manim-slides' is a package and cannot be directly executed
@jeertmans well i tried to fix it and when calling
python -m manim-slides
i got this error:C:\Program Files\Python311\python.exe: No module named manim-slides.__main__; 'manim-slides' is a package and cannot be directly executed
You need to use an underscore « _ » instead of the hyphen when you call it via Python modules :) So it is manim_slides and not manim-slides.
Description
I'm trying to run manim-slides, but it gives me this very weird error. i cant even access the version of it. this is what error looks like:
This is my code:
And this is what i tried to run:
Version
I can't access it, because it gives me that error when checking version
Platform
Windows
Screenshots
No response
Additional information
No response