open-mmlab / OpenPCDet

OpenPCDet Toolbox for LiDAR-based 3D Object Detection.
Apache License 2.0
4.59k stars 1.28k forks source link

Quick Demo - mayavi and qt: qt.qpa.xcb: could not connect to display #482

Closed ReunionJ closed 2 years ago

ReunionJ commented 3 years ago

Hello, I encountered the following problems when I ran the code: 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.

I beg you can help me to solve this problem. Thank you!

RolandoAvides commented 3 years ago

Hello,

I recently ran into this error on my own computer using the kitti_viz repository. The problem is related to mayavi. I will try to look into this error next week. Try to reinstall mayavi first.

jihanyang commented 3 years ago

This error is caused by some conflict of the mayavi and python version. Could you provide your mayavi and python version?

Here is a possible solution:

  1. uninstall all pyqt5 packages in pip.
  2. install qt and qtconsole in conda.

This solution works for me.

ReunionJ commented 3 years ago

This error is caused by some conflict of the mayavi and python version. Could you provide your mayavi and python version?

Here is a possible solution:

  1. uninstall all pyqt5 packages in pip.
  2. install qt and qtconsole in conda.

This solution works for me.

Thank you for your reply! My mayavi and python version : mayavi-4.7.2 python3.7

ReunionJ commented 3 years ago

Hello,

I recently ran into this error on my own computer using the kitti_viz repository. The problem is related to mayavi. I will try to look into this error next week. Try to reinstall mayavi first.

Okay, if you have any progress, please let me know, thank you very much!

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.