Python Forum
[Kivy] Unable to get a wiindow, abort
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Kivy] Unable to get a wiindow, abort
#1
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]
Reply
#2
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
Recommended Tutorials:
Reply
#3
Thank you i have just installed it from a path and it worked
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Kivy] [CRITICAL] [App ] Unable to get a Text provider, abort. Exsul 6 11,999 Aug-17-2019, 11:54 PM
Last Post: Exsul
  [Kivy] Unable to get a window, abort. hajary8 0 5,699 Dec-13-2018, 06:17 PM
Last Post: hajary8

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020