Florian-Barthel / splatviz

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

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

Closed ZhenWusi closed 8 months ago

ZhenWusi commented 8 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 8 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 8 months ago

thanks! I fix it.