astra-vision / MonoScene

[CVPR 2022] "MonoScene: Monocular 3D Semantic Scene Completion": 3D Semantic Occupancy Prediction from a single image
https://astra-vision.github.io/MonoScene/
Apache License 2.0
698 stars 69 forks source link

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. #33

Closed rockywind closed 2 years ago

rockywind commented 2 years ago

Dear author. I met the error below, when I run the visualize code. I run the visualize code in a linux server.

python monoscene/scripts/visualization/NYU_vis_pred.py +file=/path/to/output/file.pkl

The error is that.

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.

Aborted (core dumped)
anhquancao commented 2 years ago

I think you have error in mayavi installation. Please take a look at this post https://anhquancao.github.io/blog/2022/how-to-install-mayavi-with-python-3-on-ubuntu-2004-using-pip-or-anaconda/

rockywind commented 2 years ago

Thanks!