So as mentioned in my last project entry, I had some issues when trying to run my GUI code on the Pi itself, as before I have always ran it on my computer. The main problem I had was this segmentation fault that would appear when trying to find the window for my code to run:
I overcame this by setting some environmental variables at the start of the code, like so:
import os
os.environ['KIVY_GL_BACKEND'] = 'gl'
os.environ['KIVY_AUDIO'] = 'sdl2'
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.