Hi! I am trying to install anki 25.09 on ubuntu 24.04.2 and encountering some problems. I will describe what I have tried. Please let me know if anyone has suggestions about how to fix anki on my machine.
• I downloaded anki 25.09 and followed the installation guide
• When I tried to run anki, I saw an error screen that said “Anki encountered a problem. Please follow the troubleshooting steps.” I copied the debugging info, some of which I included below.
Anki 25.09.2 (3890e12c)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.39
Traceback (most recent call last):
File “/home/username/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/progress.py”, line 121, in handler
func()
~~~~^^
File “/home/username/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 231, in on_window_init
fn()
~~^^
File “/home/username/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 330, in setupProfile
self.loadProfile()
~~~~~~~~~~~~~~~~^^
• I then uninstalled anki, deleted all associated files, and restarted my computer.
• Next, I downloaded anki 25.09 and again followed the installation guide. I still received the same error message when attempting to run anki.
• I followed a post (that I can’t link) and ran sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0, but still can’t run anki.
• I also followed the System Qt versions instructions at the install and upgrade manual, but remain unable to use anki.
• Now when I run anki, I see
ankylosaurus@computer:~/anki-launcher-25.09-linux $ anki
Traceback (most recent call last):
File “”, line 1, in
File “/home/username/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/init.py”, line 65, in
from aqt import gui_hooks
File “/home/username/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/gui_hooks.py”, line 11, in
from _aqt.hooks import *
File “/home/username/.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/username/.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/qt/init.py”, line 19, in
from .qt6 import *
File “/home/username/.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’
• I also receive the above error message when I run anki --no-sandbox in my terminal.
• Now if I search for anki and try to open it on my computer via the GUI, nothing opens.
I’d appreciate any guidance. Thank you!