Open Vartroc opened 2 months ago
@Vartroc Im quite sorry, because I have not experience in Linux and this is the first time seeing this issue.
@Vartroc Do you have any coding experience perhaps ? If so, it seems like your PyQt6 is missing a module that is found on the Anki Mac and Windows Version
You could go into the init.py code and search for the places where the QVideoWidget is mentioned
I use NixOS which is quite exotic and thus may Not have that specific version preinstalled. I May be able to install that library without having to do any coding (I only have basic python knowledge)
@Vartroc Let me know if it works !
I've also had this issue on NixOS as well when I wanted to try the addon. I don't know why, but QtMultimediaWidgets
seems to be missing from pyqt6
and I couldn't figure out how to make it work. Interestingly, using pyside6
works without a problem:
$ nix-shell -p "python3.withPackages (ps: with ps; [ pyqt6 ])" --run "python3 -c 'from PyQt6.QtMultimediaWidgets import QVideoWidget'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'PyQt6.QtMultimediaWidgets'
# No errors with pyside6:
$ nix-shell -p "python3.withPackages (ps: with ps; [ pyside6 ])" --run "python3 -c 'from PySide6.QtMultimediaWidgets import QVideoWidget'"
In this regard, you can probably override anki
, adding pyside6
as a build dependency and patch the addon to use it, but I found an easier solution which is to just use the anki-bin
package instead as it bundles the necessary dependencies by default, which worked out of the box for me.
error:
fastfetch:
If you need any other info, feel free to ask, but keep in mind that I am quite busy at the moment, so you may have to wait a day