Hi, I was using Anki Qt6 (23.10.1) with Clear Linux OS (40390). It worked without problems, but now I face the following issue:
Anki starting...
Initial setup...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "aqt", line 52, in <module>
File "aqt.gui_hooks", line 11, in <module>
File "_aqt.hooks", line 18, in <module>
File "aqt.qt", line 20, in <module>
File "aqt.qt.qt6", line 17, in <module>
ImportError: /usr/local/share/anki/lib/PyQt6/Qt6/lib/libQt6Quick.so.6: undefined symbol: _ZTVNSt3pmr25monotonic_buffer_resourceE, version Qt_6
Older versions of Anki did work fine too, but I don’t know what happened now. Any help is appreaciated!
Understood, it’s a distro issue then. I will talk to the maintainers to see how this can be fixed, and use the flatpak version meanwhile, since that works without problems. Thank you for clarifying the situation!
I’m posting an update, after getting another answer from the maintainers of Clear Linux, they noticed I had a bundle mussing in my install, Anki was failing because I was missing the “qt6-basic” bundle.
So, for anyone using Clear Linux and Anki, just write in terminal/console:
sudo swupd bundle-add qt6-basic
And Anki should start working again without the need of using flatpak.