Florian-Barthel / splatviz

Full python interactive 3D Gaussian Splatting viewer for real-time editing and analyzing.
MIT License
1.14k stars 75 forks source link

how can I fix GLFWError: (65544) b'X11: The DISPLAY environment variable is missing' #5

Closed ZhenWusi closed 7 months ago

ZhenWusi commented 7 months ago

When I run python main.py --data_path="path/to/directory/with/gaussian/objects happen that

屏幕截图 2024-03-09 151913
Florian-Barthel commented 7 months ago

Hi, it looks like the display env variable is not set properly. Try running this line before launching main.py:

export DISPLAY=:0.0

(from https://stackoverflow.com/questions/662421/no-x11-display-variable-what-does-it-mean)

ZhenWusi commented 7 months ago

thanks! I fix it.