Python Forum

Full Version: Unable to get a wiindow, abort
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Guys,
When I run my simple kivy application i have this error, I have tried many ways to fix it but it didn't work, anyone can help?

Thank you,

import kivy
kivy.require('1.0.6') # replace with your current kivy version !

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


class MyApp(App):

    def build(self):
        return Label(text='Hello world')


if __name__ == '__main__':
    MyApp().run()
error :
[Image: 56978152f88e39614a21b6a6ff86950ee3569bcc...97f81d.jpg]
try reintalling some things
pip install --upgrade pip wheel setuptools
pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
pip install kivy.deps.gstreamer
pip install kivy.deps.angle
pip install kivy
How did you install kivy?
Make sure to install dependencies
https://kivy.org/docs/installation/insta...stallation

or you could try putting <python dir>\share\sdl2\bin to your path
Thank you i have just installed it from a path and it worked