我应该解决什么错误? (在“”中找不到Qt平台插件“ xcb”)

时间:2019-10-22 03:25:41

标签: python pyqt

我在Ubuntu中使用qt。

我必须使用qt和Openpose,但这不起作用。

  

1。如果仅启用了Qt

如果我运行Python文件时未附加“ sudo”

enter image description here

发生这样的错误。

如果我附加“ sudo”并运行Python文件,

enter image description here

发生这样的错误。(成功完成)

  

2。如果启用了Qt和openpose

但是如果我运行Python文件时未附加“ sudo”

enter image description here

发生这样的错误。

如果我附加“ sudo”并运行Python文件,

enter image description here

发生这样的错误。

我该怎么办? 我必须穿上“ sudo”还是应该脱掉它?

0 个答案:

没有答案