sinat_36082782
神一样的少年就是我
2019-04-07 17:35

ubuntu安装PyQt5时出现如下问题如何解决?

  • python
  • ubuntu
qt.qpa.xcb: could not connect to display 
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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.


qt安装路径是在

/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages (5.12.1)

搞了一天了怎么办

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答