Available platform plugins are: xcb.报错解决办法
一. 报错信息:
linux环境:ubuntu20.04
报错:(在以安装pyqt5的情况下)
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: xcb.Aborted (core dumped)
二. 解决办法:
export QT_QPA_PLATFORM=xcb
完美解决!!!