错误:
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
在终端中执行export QT_DEBUG_PLUGINS=1
,然后在终端中运行脚本,曝出详细错误
Cannot load library /home/jamo/Desktop/youdao-dict/env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: 无法打开共享对象文件: 没有那个文件或目录)
QLibraryPrivate::loadPlugin failed on "/home/jamo/Desktop/youdao-dict/env/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so" :