我确实下载了 Anki 并进行了设置,但输入“anki”时,Anki 未打开,当我单击图标时也发生同样的情况。显示的消息如下。
File "runanki.py", line 4, in <module>
File "aqt/__init__.py", line 405, in run
File "aqt/__init__.py", line 451, in _run
File "aqt/profiles.py", line 136, in setupMeta
File "aqt/profiles.py", line 505, in _loadMeta
resetting corrupt _global
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.
可用的平台插件有:eglfs、linuxfb、minimal、minimalegl、offscreen、vnc、wayland-egl、wayland、wayland-xcomposite-egl、wayland-xcomposite-glx、webgl、xcb。
答案1
这个命令对我有用!
sudo apt-get install libxcb-xinerama0