djc
Advanced Member level 1
Hello,
I have just started using Python as i want to develop an android app using Python. i am using Kivy platform. Installed it as per instructions. However i am getting an error for first program itself. Error is,
More detailed error
I have just started using Python as i want to develop an android app using Python. i am using Kivy platform. Installed it as per instructions. However i am getting an error for first program itself. Error is,
code is,[CRITICAL] [App ] Unable to get a Text provider, abort.
Code:
import kivy
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text="Hello Dheeru")
if __name__ == "__main__":
MyApp().run()
More detailed error
[CRITICAL] [Text ] Unable to find any valuable Text provider.
sdl2 - ImportError: DLL load failed: The specified module could not be found.
File "C:\Python\Python37-32\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Python\Python37-32\lib\site-packages\kivy\core\text\text_sdl2.py", line 12, in <module>
from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,
pil - ModuleNotFoundError: No module named 'PIL'
File "C:\Python\Python37-32\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "C:\Python\Python37-32\lib\site-packages\kivy\core\text\text_pil.py", line 7, in <module>
from PIL import Image, ImageFont, ImageDraw
[CRITICAL] [App ] Unable to get a Text provider, abort.
Last edited: