Close

Segmentation Faults

A project log for Gesture Controlled Smartwatch

A larger, more functional smartwatch with gesture controllability

thomas-mckinneyThomas McKinney 02/28/2019 at 20:580 Comments

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