podgorskiy / bimpy

imgui for python
https://podgorskiy.github.io/bimpy/
MIT License
202 stars 33 forks source link

Throw exception if run on headless machine without system X #32

Closed podgorskiy closed 3 years ago

podgorskiy commented 4 years ago

Currently, if run on a headless linux machine, it results in a segmentation fault. Should throw an exception with a comment about the problem. A silent crash creates a lot of confusion.

image

https://github.com/podgorskiy/ALAE/issues/25 https://github.com/podgorskiy/ALAE/issues/22 https://github.com/podgorskiy/ALAE/issues/13 https://github.com/podgorskiy/ALAE/issues/12

udithhaputhanthri commented 3 years ago

@podgorskiy Hi, Thanks for the nice repository. I would like to know how to solve this exception. I was trying to work with bimpy on google Colab but it throwing the above issue.

Actually, I was trying to run ALAE on colab.