Kivy: [KRITISCH] [App] Textanbieter kann nicht abgerufen werden, Abbruch

Erstellt am 27. Okt. 2018  ·  5Kommentare  ·  Quelle: kivy/kivy

Versionen

  • Python: v3.6.7rc1 (v3.6.7rc1:311101f7b6, 26. September 2018, 15:43:06) [MSC v.1900 32 Bit (Intel)]
  • Betriebssystem: Windows 10 x64
  • Kivy: v1.10.1
  • Kivy-Installationsmethode: pip

Beschreibung

Ich versuche, ein beliebiges Kivy-Beispiel auf dem obigen Setup auszuführen.

Code und Protokolle

"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

Hilfreichster Kommentar

Versuche dies:
pip install - Upgrade der Setup-Tools für das Pip-Rad
pip installiere docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
pip installiere kivy.deps.gstreamer
pip installiere 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

Alle 5 Kommentare

Versuche dies:
pip install - Upgrade der Setup-Tools für das Pip-Rad
pip installiere docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
pip installiere kivy.deps.gstreamer
pip installiere 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

👋 Wir verwenden den Issue Tracker ausschließlich für Fehlerberichte und Funktionsanfragen. Dieses Problem scheint jedoch eine Supportanfrage zu sein. Bitte nutzen Sie unsere Support-Kanäle , um Hilfe beim Projekt zu erhalten.

Wenn Sie Probleme bei der Installation von Kivy haben, lesen Sie unbedingt die Installationsdokumentation für Windows , Linux und macOS .

Teilen Sie uns mit, wenn dieser Kommentar irrtümlich abgegeben wurde, und wir öffnen das Problem gerne erneut.

Überprüfen Sie die FAQ: https://kivy.org/doc/master/faq.html?highlight=faq#unable -to-get-a-window-abort

Versuche dies:
pip install - Upgrade der Setup-Tools für das Pip-Rad
pip installiere docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
pip installiere kivy.deps.gstreamer
pip installiere 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

Danke schön!

Habe diese nützliche Lösung gefunden: https://stackoverflow.com/a/56865754/11296112

"
Fügen Sie in PyCharmm im Project Interpreter alle Pakete hinzu, die beginnen mit:

kivy-deps.

Mit Ausnahme derer mit "dev" im Titel
"

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen