debug一个pycharm程序的错误更正

编程入门 行业动态 更新时间:2024-10-27 08:24:22

debug一个pycharm程序的<a href=https://www.elefans.com/category/jswz/34/1771449.html style=错误更正"/>

debug一个pycharm程序的错误更正

由于想看到程序的过程输出,debug过程中出现了一个错误 :       "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" "

完整版错误提示:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, xcb.

进而,出现了程序异常终止的提示:    Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

如果仅仅排查终止提示,一般很难纠正,要从错误提示上看,原因是因为qt(debug需要qt?,也许有参与)缺少xcb的依赖,终端运行:

sudo apt install libxcb-xinerama0

 

更多推荐

debug一个pycharm程序的错误更正

本文发布于:2024-03-04 02:37:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1708044.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   程序   debug   pycharm

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!