I’ve been trying to download anki on my sisters unused chromebook since my normal laptop broke. But I keep getting an error just as I try to install it via the terminal. I have no idea what it means and school starts in a couple of days so it’s just stressing me out.
Could someone help me with this error, I don’t know what to doo.
Here is the error in the terminal:
Install complete. Type ‘anki’ to run.
firefox@penguin:~/anki-launcher$ anki
Starting Anki 25.09.2…
File “”, line 1, in
import aqt, sys; sys.argv[0] = ‘Anki’; aqt.run()
File “/home/firefox/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/init.py”, line 565, in run
_run()
File “/home/firefox/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/init.py”, line 637, in _run
pmLoadResult = pm.setupMeta()
File “/home/firefox/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/profiles.py”, line 143, in setupMeta
res = self._loadMeta()
File “/home/firefox/.local/share/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/profiles.py”, line 432, in _loadMeta
traceback.print_stack()
resetting corrupt _global
Qt warning: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: “Screen6” screen model: “unknown” This is most likely a bug in the compositor.
Qt warning: The Wayland connection broke. Did the Wayland compositor die?
firefox@penguin:~/anki-launcher$
The title of this post mentions “Downloading”. However, the terminal output you provided makes it seem as if you downloaded Anki without any problems. Instead, it seems that the problem subsequently occurred when you tried to run the anki command.
I’m not familiar with Chromebooks or Linux. However, the Anki Manual does have a page on installing Anki on Linux, including a section on common problems seen on Linux. You might want to look at that page to see if any of the suggestions help.
One of your warning messages included the word “Wayland”. I don’t know whether it is relevant to your problem, but the Anki Manual also has a page that mentions Wayland.
Starting Anki 25.09.2…
File “/app/bin/anki”, line 8, in
sys.exit(run())
File “/app/lib/python3.13/site-packages/aqt/init.py”, line 565, in run
_run()
File “/app/lib/python3.13/site-packages/aqt/init.py”, line 637, in _run
pmLoadResult = pm.setupMeta()
File “/app/lib/python3.13/site-packages/aqt/profiles.py”, line 143, in setupMeta
res = self._loadMeta()
File “/app/lib/python3.13/site-packages/aqt/profiles.py”, line 432, in _loadMeta
traceback.print_stack()
resetting corrupt _global
Qt warning: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: “Screen6” screen model: “unknown” This is most likely a bug in the compositor.
Qt warning: The Wayland connection broke. Did the Wayland compositor die?
First time setting up Anki, got the same issue with two installation methods, once using the method listed on the site (download, unzip, run install) and again using flatpak. It opens when run and opens the language selection, then crashes when clicking “OK”.