Skip to content

Instantly share code, notes, and snippets.

@rainbowdesign
Created October 1, 2013 21:32
Show Gist options
  • Save rainbowdesign/6785457 to your computer and use it in GitHub Desktop.
Save rainbowdesign/6785457 to your computer and use it in GitHub Desktop.
Short kivy file creates pygame segfault
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
kv = '''
<MainUI>:
BoxLayout:
Button:
text: 'Hello'
'''
class MainUI(Button):
pass
class MahApp(App):
def build(self):
return MainUI
if __name__ == '__main__':
MahApp().run()
Leads to Fatal Python error: (pygame parachute) Segmentation Fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment