[Linux] How to resolve `No module named ‘PyQt6.QtQuick’`?

I have had lingering issues with the Anki launcher (version >25.07.2), specifically with my IME on Linux Ubuntu 24.0.4.

I tried resolving the issue per the instructions on Install & Upgrade - Anki Manual (under system qt versions, but i cant link URLS here it seems), but am presented with the following error log upon launching the latest version of Anki:

Traceback (most recent call last):
File “”, line 1, in
File “/home/…/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/init.py”, line 65, in
from aqt import gui_hooks
File “/home/…/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/gui_hooks.py”, line 11, in
from _aqt.hooks import *
File “/home/…/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/_aqt/hooks.py”, line 18, in
from aqt.qt import QDialog, QEvent, QMenu, QModelIndex, QWidget, QMimeData
File “/home/…/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/qt/init.py”, line 19, in
from .qt6 import *
File “/home/…/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/qt/qt6.py”, line 16, in
from PyQt6.QtQuick import *
ModuleNotFoundError: No module named ‘PyQt6.QtQuick’

So, basically a dependency issue, but i don’'t know how to solve it.

Might be just apt install python3-pyqt6.qtquick.

Edit:

Here’s the link: Install & Upgrade - Anki Manual.

Have you searched other recent threads for suggestions?

https://forums.ankiweb.net/search?q=%22PyQt6.QtQuick%22%20order%3Alatest

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.