manim-slides
manim-slides copied to clipboard
[BUG] No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
Please explain the issue you're experiencing (with as much detail as possible):
When I run manim-slides Main I just get this error message
And I got nothing but all black like below:
My pip list are below:
Package Version
----------------------- -----------
annotated-types 0.7.0
asttokens 2.4.1
av 12.1.0
cairocffi 1.7.0
certifi 2024.2.2
cffi 1.16.0
charset-normalizer 3.3.2
click 8.1.7
click-default-group 1.2.4
cloup 2.1.2
colorama 0.4.6
colorful 0.5.6
colour 0.1.5
commonmark 0.9.1
contourpy 1.2.1
cyaron 0.5.0
cycler 0.12.1
decorator 5.1.1
exceptiongroup 1.2.1
executing 2.0.1
fonttools 4.53.0
glcontext 2.5.0
idna 3.6
ipython 8.25.0
isosurfaces 0.1.0
jedi 0.19.1
Jinja2 3.1.4
kiwisolver 1.4.5
lxml 5.2.2
manim 0.18.0
manim_code_blocks_redux 1.0.14
manim-data-structures 0.1.7
manim-presentation 0.2.1
manim-slides 5.1.7
manim-studio 0.7.4
ManimPango 0.5.0
mapbox-earcut 1.0.1
markdown-it-py 3.0.0
MarkupSafe 2.1.5
matplotlib 3.9.0
matplotlib-inline 0.1.7
mdurl 0.1.2
moderngl 5.10.0
moderngl-window 2.4.4
mpmath 1.3.0
multipledispatch 1.0.0
networkx 3.2.1
numpy 1.26.4
opencv-python 4.10.0.82
packaging 24.0
pangocairocffi 0.4.0
pangocffi 0.8.0
parso 0.8.4
Pillow 9.5.0
pip 24.0
progressbar 2.5
prompt_toolkit 3.0.45
pure-eval 0.2.2
pycairo 1.26.0
pycparser 2.22
pydantic 2.7.3
pydantic_core 2.18.4
pydantic-extra-types 2.8.0
pydub 0.25.1
pyglet 2.0.15
Pygments 2.18.0
PyOpenGL 3.1.7
pyparsing 3.1.2
pyperclip 1.8.2
PyQt6 6.7.0
PyQt6-Qt6 6.7.1
PyQt6-sip 13.6.0
pyrr 0.10.3
PySide6 6.5.2
PySide6-Addons 6.5.2
PySide6-Essentials 6.5.2
python-dateutil 2.9.0.post0
python-pptx 0.6.23
PyYAML 6.0.1
QtPy 2.4.1
requests 2.31.0
rich 13.7.1
rtoml 0.10.0
scipy 1.13.1
screeninfo 0.8.1
setuptools 69.5.1
shiboken6 6.5.2
six 1.16.0
skia-pathops 0.7.4
srt 3.5.3
stack-data 0.6.3
svgelements 1.9.6
sympy 1.12.1
tokenize_all_code 1.0.18
tqdm 4.66.4
traitlets 5.14.3
typing_extensions 4.12.2
urllib3 2.2.1
validators 0.28.3
watchdog 3.0.0
wcwidth 0.2.13
xeger 0.4.0
XlsxWriter 3.2.0
Any comment is welcome, please help me.
Hello @837852427, thanks for reporting this issue! Can you please include your Python version?
Also, did you try uninstalling PyQt6 and installing PySide6==6.5.2 instead?
Hello @837852427, thanks for reporting this issue! Can you please include your Python version?
Also, did you try uninstalling
PyQt6and installingPySide6==6.5.2instead?
Hello @837852427, thanks for reporting this issue! Can you please include your Python version?
Also, did you try uninstalling
PyQt6and installingPySide6==6.5.2instead?
Below is my python version
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
And I just tried manim-slides==5.0.0 and PySide6==6.5.2 it worked! Though it doesnt have the next slide info window but it satisfies my request now.
Hello @837852427, thanks for reporting this issue! Can you please include your Python version? Also, did you try uninstalling
PyQt6and installingPySide6==6.5.2instead?Hello @837852427, thanks for reporting this issue! Can you please include your Python version? Also, did you try uninstalling
PyQt6and installingPySide6==6.5.2instead?Below is my python version
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32And I just triedmanim-slides==5.0.0andPySide6==6.5.2it worked! Though it doesnt have the next slide info window but it satisfies my request now.
I'm happy that fixed your problem! I'll keep this open because I have to investigate why PyQt6 stops working.
Faced the same issue. Switching to manim-slides==5.0.0 and PySide6==6.5.2 helped
manim==0.18.1
manim-slides==5.1.9
PySide6==6.8.0.1
PySide6_Addons==6.8.0.1
PySide6_Essentials==6.8.0.1
Faced the same issue. Switching to
manim-slides==5.0.0andPySide6==6.5.2helpedmanim==0.18.1 manim-slides==5.1.9 PySide6==6.8.0.1 PySide6_Addons==6.8.0.1 PySide6_Essentials==6.8.0.1
Does it work with the recent manim-slides>=5.1.8?
No, I had to switch to 5.0.0
Chiming in to say I had the same issue with the QT backend not working (on Mac) and I downgraded to manim-slides==5.0.0 version and now it works.
This issue is taking quite some time, and I might need your help @mcnica89 or @rguliev to identify compatible version for QT bindings, especially as you are both using different OSes, both different from mine (Linux).
If you have time, could you:
- Generate dummy slides (e.g.,
manim-slides render example.py BasicExample) or download pre-rendered slides; - Install uv;
- Try different versions of PySide6 (or PyQt6) and check which version successfully plays slides:
uv run --with "manim-slides==5.2" --with "PySide6==x.y.z" python -m manim_slides BasicExample. E.g., you can test PySide6 6.7 with:uv run --with "manim-slides==5.2" --with "PySide6==6.7" python -m manim_slides BasicExample, or the equivalent PyQt6 version with:uv run --with "manim-slides==5.2" --with "PyQt6==6.7" python -m manim_slides BasicExample.
The above commands will create a new Python environment every time the versions change, so this can quite some time (because it needs to download a different Qt version), but ensure reproducibility.
Hi!
I came across this same issue and tried to pin down the problematic PySide6 version. I first encountered the problem with manim-slides==5.5.1, PySide6==6.9.1 and python 3.13.6, but started to work back from PySide6==6.7.0 without downgrading manim-slides on python 3.11.9.
The test setup was a bit haphazard since I wasn't diligent enough to redo the Python virtual environment on every run but from my testing on Windows 11 (python 3.11.9) with the BasicExample as dummy slides:
This configuration works (aside from some console errors, the slides themselves seem to work without any problems)
manim==0.19.0
manim-slides==5.5.1
PySide6==6.6.2
PySide6_Addons=6.6.2
PySide6_Essentials==6.6.2
shiboken6==6.6.2
This configuration (and everything between PySide6==6.7.0-6.6.3) does not seem to work (results in No QtMultimedia backends found. ...)
manim==0.19.0
manim-slides==5.5.1
PySide6==6.6.3
PySide6_Addons=6.6.3
PySide6_Essentials==6.6.3
shiboken6==6.6.3
Hopefully this helps with the troubleshooting, and is useful to anyone who still want to enjoy the next slide info window and other new features. Thanks Jérome for your hard work with this library!
Hi @JDingo, I appreciate that you share your experience with this problem here, thanks! I am not sure if we can do much about this, as this is very platform- and Qt version-dependant, but hopefully we'll find a solution one day (or at least an explanation why it fails)!
This worked for me!!!! Thank you so much!!!!
Hi!
I came across this same issue and tried to pin down the problematic
PySide6version. I first encountered the problem withmanim-slides==5.5.1,PySide6==6.9.1andpython 3.13.6, but started to work back fromPySide6==6.7.0without downgradingmanim-slidesonpython 3.11.9.The test setup was a bit haphazard since I wasn't diligent enough to redo the Python virtual environment on every run but from my testing on Windows 11 (
python 3.11.9) with theBasicExampleas dummy slides:This configuration works (aside from some console errors, the slides themselves seem to work without any problems)
manim==0.19.0 manim-slides==5.5.1 PySide6==6.6.2 PySide6_Addons=6.6.2 PySide6_Essentials==6.6.2 shiboken6==6.6.2This configuration (and everything between
PySide6==6.7.0-6.6.3) does not seem to work (results inNo QtMultimedia backends found. ...)manim==0.19.0 manim-slides==5.5.1 PySide6==6.6.3 PySide6_Addons=6.6.3 PySide6_Essentials==6.6.3 shiboken6==6.6.3Hopefully this helps with the troubleshooting, and is useful to anyone who still want to enjoy the next slide info window and other new features. Thanks Jérome for your hard work with this library!