May-02-2020, 07:11 AM
I created a "Hello, Kivy" window but the text won't shows up
I used Pycharm64 & Python3.7 environment to run the code:
The output is just a black window, and the text is invisible
I have already posted the thread on StackOverflow:
https://stackoverflow.com/questions/6131...t-shows-up

I used Pycharm64 & Python3.7 environment to run the code:
from kivy.uix.label import Label from kivy.app import App import kivy # the minimum OpenGL version supported by Kivy: kivy.require('1.9.1') # defining app class: class HelloKivy(App): def build(self): return Label(text="Hello, Kivy") # running the window: HelloKivy().run()console log:
Output:[INFO ] [Logger ] Record log in C:\Users\AVD\.kivy\logs\kivy_20-04-20_66.txt
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.1.17
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.1.9
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.1.12
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.1.22
[INFO ] [Kivy ] v1.11.1
[INFO ] [Kivy ] Installed at "C:\Program Files\Python 3.7.3\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Program Files\Python 3.7.3\python.exe"
[INFO ] [Factory ] 184 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: sdl2
[INFO ] [Window ] Activate GLES2/ANGLE context
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] Backend used <angle_sdl2>
[INFO ] [GL ] OpenGL version <b"OpenGL ES 2.0 (ANGLE 2.1.0.b'')">
[INFO ] [GL ] OpenGL vendor <b'Google Inc.'>
[INFO ] [GL ] OpenGL renderer <b'ANGLE (Intel(R) HD Graphics Direct3D11 vs_4_1 ps_4_1)'>
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <b"OpenGL ES GLSL ES 1.00 (ANGLE 2.1.0.b'')">
[INFO ] [GL ] Texture max size <8192>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [WindowSDL ] exiting mainloop and closing.
[INFO ] [Base ] Leaving application in progress...
Process finished with exit code 0
The output is just a black window, and the text is invisible

I have already posted the thread on StackOverflow:
https://stackoverflow.com/questions/6131...t-shows-up