harfang3d / dogfight-sandbox-hg2

Air to air combat sandbox, created in Python 3 using the HARFANG 3D 2 framework.
GNU General Public License v3.0
161 stars 47 forks source link

<WindowSystemInit> returned a result with an error set in ubuntu20.04 #61

Closed cjmdd closed 1 year ago

cjmdd commented 1 year ago

When I pip install harfang-.....-linux_x86_64.whl (import harfang is ok )and then run python main.py in the dogfight.../source, there is a error as follow:Compiling assets... 99%|█████████████████████████████████████████▌| 99/100 [25:30<00:15, 15.46s/it] Assertion failed (ret == GLFW_TRUE) Reason: Failed to initialize window system RuntimeError: X11: The DISPLAY environment variable is missing