Drakenden
Drakenden

Reputation: 23

Black Screen on simple Python & Kivy app

I'm a newbie in Python language and I'm also starting to use Kivy library. I have a Windows 8 OS and I wrote this first code to make an example:

import kivy

from kivy.app import App
from kivy.uix.label import Label


class SimpleApp(App):
    def build(self):
        return Label(text='Hello World')

if __name__ == '__main__':
    SimpleApp().run()

But after running, the output was this:

enter image description here

There is a black blank window less "Hello World", so I cannot understand the source of the problem because it seems very strange.

Upvotes: 0

Views: 1675

Answers (1)

Yoav Glazner
Yoav Glazner

Reputation: 8066

Since your code works (for me...) I would suggest that you download the latest kivy installation-windows

And try again.

Upvotes: 1

Related Questions