pyqt5 Could not load the Qt platform plugin “xcb“ in ““ even though it was found.
pyqt5 Could not load the Qt platform plugin “xcb” in “” even though it was found.
1.sudo gedit ~/.bashrc 输入 export QT_DEBUG_PLUGINS=1 保存退出
2. source ~/.bashrc
3. sudo apt-get install libxcb-xinerama0
4. 执行文件,成功
PS: 有问题请留言!!!
...
原创
2020-07-08 10:11:16 ·
1101 阅读 ·
0 评论