Anki-24.04.1-linux-qt6 ImportError Qt undefined symbol

I can’t start anki.

what I did

Download and extract anki-24.04.1-linux-qt6, run ./anki

what I got

Error message:

Anki starting...
Initial setup...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "aqt", line 61, 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 12, in <module>
ImportError: /media/ssd/temp/anki-24.04.1-linux-qt6/lib/PyQt6/ undefined symbol: _ZN14QReadWriteLock16destroyRecursiveEP21QReadWriteLockPrivate, version Qt_6

Any helps?

I think you must update your python packages or reinstall them

What distro are you using?

I’m not sure but I think anki is loading bundled shared libraries(.so files), not from my system.
According to the error log.
Thanks anyway.

Using Debian GNU/Linux 12 (bookworm).

Desktop environment is KDE.
Just in case.

Thank you, I’ll try to reproduce this when I have a chance.