mmdetection3d icon indicating copy to clipboard operation
mmdetection3d copied to clipboard

RuntimeError: [Open3D ERROR] GLFW Error: X11: The DISPLAY environment variable is missing。

Open Beyond-AA opened this issue 2 years ago • 2 comments

Thanks for your error report and we appreciate it a lot.

when i use the tools/test.py to test a model, I got the following error: RuntimeError: [Open3D ERROR] GLFW Error: X11: The DISPLAY environment variable is missing。 My OS is ubuntu 20.0.4 and IDE is pycharm. mmcv-full 1.3.9 mmdet 2.14.0 mmdet3d 0.17.2
mmsegmentation 0.14.1 can you tell me how to solve it?

Beyond-AA avatar Jul 08 '22 04:07 Beyond-AA

Did you run your test.py script on remote server?

ZCMax avatar Aug 17 '22 08:08 ZCMax

That happened to me when I accidentally called a script from the repository that requires Open3D for visualization. I am using PyCharm (Pro) to run my code through a remote machine. However, the PyCharm console does not have a display to visualize the results hence this message. I solved it by executing the script using the actual machine within its terminal. Maybe you accidentally made the same mistake as me :)

holtvogt avatar Aug 17 '22 16:08 holtvogt