Kivy: [CRITICAL] [App ] Unable to get a Text provider, abort

Created on 27 Oct 2018  路  5Comments  路  Source: kivy/kivy

Versions

  • Python: v3.6.7rc1 (v3.6.7rc1:311101f7b6, Sep 26 2018, 15:43:06) [MSC v.1900 32 bit (Intel)]
  • OS: Windows 10 x64
  • Kivy: v1.10.1
  • Kivy installation method: pip

Description

I am trying to run any Kivy example on the above setup.

Code and Logs

"C:\Program Files (x86)\Python36-32\python.exe" "C:/Program Files (x86)/Python36-32/share/kivy-examples/settings/main.py"
[INFO   ] [Logger      ] Record log in C:\Users\m4k3r\.kivy\logs\kivy_18-10-27_124.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.6.7rc1 (v3.6.7rc1:311101f7b6, Sep 26 2018, 15:43:06) [MSC v.1900 32 bit (Intel)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider.
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:\Users\m4k3r\AppData\Roaming\Python\Python36\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\m4k3r\AppData\Roaming\Python\Python36\site-packages\kivy\core\window\window_sdl2.py", line 26, in <module>
    from kivy.core.window._window_sdl2 import _WindowSDL2Storage

[CRITICAL] [Text        ] Unable to find any valuable Text provider.
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:\Users\m4k3r\AppData\Roaming\Python\Python36\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\m4k3r\AppData\Roaming\Python\Python36\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:\Users\m4k3r\AppData\Roaming\Python\Python36\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\m4k3r\AppData\Roaming\Python\Python36\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.

Process finished with exit code 1
support

Most helpful comment

try this:
pip install --upgraade 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 --upgrade kivy

http://qaru.site/questions/2426144/kivy-error-critical-text-unable-to-find-any-valuable-text-provider-python-361-windows-10

All 5 comments

try this:
pip install --upgraade 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 --upgrade kivy

http://qaru.site/questions/2426144/kivy-error-critical-text-unable-to-find-any-valuable-text-provider-python-361-windows-10

馃憢 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing Kivy, make sure to check out the installation docs for Windows, Linux and macOS.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Check the FAQ: https://kivy.org/doc/master/faq.html?highlight=faq#unable-to-get-a-window-abort

try this:
pip install --upgraade 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 --upgrade kivy

http://qaru.site/questions/2426144/kivy-error-critical-text-unable-to-find-any-valuable-text-provider-python-361-windows-10

Thank You!

Found this useful solution: https://stackoverflow.com/a/56865754/11296112

"
In PyCharmm in the Project Interpreter, add all the packages that start with:

kivy-deps.

With the exclusion of the ones with "dev" in the title
"

Was this page helpful?
0 / 5 - 0 ratings