Skip to content Skip to sidebar Skip to footer

Kivy Error: Unable To Get A Text Provider, Abort

So i try this code: from kivy.app import App from kivy.uix.label import Label class FirstKivy(App): def build(self): return Label(text='Hello Kivy!') FirstKivy().ru

Solution 1:

try either

pip install kivy.deps.glew

or

pip install kivy.deps.angle

Remove one to see if the error changes; i'd imagine its angle. I had a similar problem with a grahics card driver.You also don't need gstreamer (right now)


Solution 2:

I had this error, I solved it by installing PIL (Pillow) just type

pip install Pillow

Solution 3:

I had the exact same problem as yours until I wrapped the class inside an if statement. It goes like this:

class MyApp(App):
    def build(self):
        return Label(text='Hey');

if __name__ == '__main__':
    MyApp().run();

Post a Comment for "Kivy Error: Unable To Get A Text Provider, Abort"