Anki won't start on Ubuntu 24.04 LTS

Hello everyone! My OS i Ubuntu 24.04 LTS and after installing Anki, it’s impossible to launch it because of thie error(s):

**Anki starting...**
**Initial setup...**
**Preparing to run...**
**  File "<string>", line 1, in <module>**
**  File "aqt", line 519, in run**
**  File "aqt", line 592, in _run**
**  File "aqt.profiles", line 139, in setupMeta**
**  File "aqt.profiles", line 424, in _loadMeta**
**resetting corrupt _global**
**Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix **
**Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. **
**Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. **
**Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.**

**Available platform plugins are: wayland, linuxfb, minimalegl, eglfs, xcb, offscreen, wayland-egl, vkkhrdisplay, vnc, minimal.**
** **
**Annullato (core dump creato)**

I tried with:
*sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0*
*kernel.apparmor_restrict_unprivileged_userns = 0*

but it doesn't work...

Thanks for your help!

ME

https://docs.ankiweb.net/platform/linux/missing-libraries.html

Hola a mi me funciono, instalandola de la siguiente forma pero usando
anki-24.04.1-linux-qt5.tar.zst instalando este funciona con QT5
espero haberte ayudado a mi me funciono

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