Having an issue running program

14 views
Skip to first unread message

William Torres

unread,
Jan 12, 2020, 11:46:32 AM1/12/20
to Kivy users support
I am trying to run my program on python 3.7.4 and kivy 1.11.1. I am simply just testing by running a Hello world program and I am getting this as a message:

INFO   ] [Logger      ] Record log in C:\Users\Will\.kivy\logs\kivy_20-01-12_3.txt
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)]
[INFO   ] [Python      ] Interpreter at "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\python.exe"
[INFO   ] [Factory     ] 184 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[DEBUG  ] [image       ] Failed trying to import the "sdl2" provider from "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\image\_img_sdl2.cp37-win32.pyd". This error is often encountered when a dependency is missing, or if there are multiple copies of the same dependency dll on the Windows PATH and they are incompatible with each other. This can occur if you are mixing installations (such as different python installations, like anaconda python and a system python) or if another unrelated program added its directory to the PATH. Please examine your PATH and python installation for potential issues. To further troubleshoot a "DLL load failed" error, please download "Dependency Walker" (64 or 32 bit version - matching your python bitness) from dependencywalker.com and set the environment variable KIVY_SDL2_DEPENDENCY_WALKER to the full path of the downloaded depends.exe file and rerun your application to generate an error report
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [text        ] Failed trying to import the "sdl2" provider from "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\text\_text_sdl2.cp37-win32.pyd". This error is often encountered when a dependency is missing, or if there are multiple copies of the same dependency dll on the Windows PATH and they are incompatible with each other. This can occur if you are mixing installations (such as different python installations, like anaconda python and a system python) or if another unrelated program added its directory to the PATH. Please examine your PATH and python installation for potential issues. To further troubleshoot a "DLL load failed" error, please download "Dependency Walker" (64 or 32 bit version - matching your python bitness) from dependencywalker.com and set the environment variable KIVY_SDL2_DEPENDENCY_WALKER to the full path of the downloaded depends.exe file and rerun your application to generate an error report
[DEBUG  ] [Text        ] Ignored <sdl2> (import error)
[DEBUG  ] [Text        ] Ignored <pil> (import error)
[CRITICAL] [Text        ] Unable to find any valuable Text provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\text\text_sdl2.py", line 13, in <module>
    from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

pil - ModuleNotFoundError: No module named 'PIL'
  File "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\Will\AppData\Local\Programs\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.

If anyone can help, that would be greatly appreciated.

Thanks,
Will

Robert Flatt

unread,
Jan 12, 2020, 2:21:31 PM1/12/20
to Kivy users support
Failed trying to import the "sdl2" provider from "C:\Users\Will\AppData\Local\Programs\Python\Python37-32\lib\site-packages\kivy\core\image\_img_sdl2.cp37-win32.pyd". This error is often encountered when a dependency is missing,

Check again that the install instructions were followed, particularly the part about dependencies.

 
"pip list" should show in part:
kivy-deps.glew       0.1.12
kivy
-deps.gstreamer  0.1.17
kivy
-deps.sdl2       0.1.22



Reply all
Reply to author
Forward
0 new messages