jeertmans / manim-slides

Tool for live presentations using manim
https://manim-slides.eertmans.be
MIT License
419 stars 46 forks source link

[BUG] `manim-slides wizard` running error #391

Closed nn-heckfy closed 4 months ago

nn-heckfy commented 4 months ago

Please explain the issue you're experiencing (with as much detail as possible):

Greetings. When I try to change the keybind using the command "manim-slides wizard" I get the following error:

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Scripts\manim-slides.exe__main.py", line 7, in File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, **kwargs) return _init(config_path, force, merge, skip_interactive=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\manim_slides\wizard__init__.py", line 67, in _init
from .wizard import Wizard File "C:\Users\Heckfy\AppData\Local\Programs\Python\Python311\Lib\site-packages\manim_slides\wizard\wizard.py", line 24, in
for key in Qt.Key: TypeError: 'sip.enumtype' object is not iterable

Any ideas on how to fix it? Thanks in advance.

nn-heckfy commented 4 months ago

Command "pip install manim-slides[pyside6]" solve the problem.

jeertmans commented 4 months ago

Nice, happy you found a solution!

A "clean" fresh installation is often the easiest way to fix that kind of issues. This is also why I recommend using a virtual environment just for Manim Slides :-)