Can't install Kivy On Windows

486 views
Skip to first unread message

mastersr...@gmail.com

unread,
Jan 4, 2018, 11:06:47 AM1/4/18
to Kivy users support
[INFO   ] [Logger      ] Record log in C:\Users\user\.kivy\logs\kivy_18-01-04_17.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif (img_sdl2, img_pil, img_ffpyplayer ignored)
[CRITICAL] [Text        ] Unable to find any valuable Text provider.
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\user\AppData\Local\Programs\Python\Python36\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:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "C:\Users\user\AppData\Local\Programs\Python\Python36\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.


I get the following error while installing Kivy Designer.

PLEASE HELP ME!!!

Alexey Kostylev

unread,
Jan 7, 2018, 2:08:30 PM1/7/18
to Kivy users support
First of all - my own experience. ~2 mon ago I was trying Kivy Designer. Seems 2 me: It's much better 2 understand yourself, how kv works. Maybe, it already fixed, but in my case the designer was not writing size hint and the screens were a bit out of the window. I managed to launch the designer under windows, but only after googling ~ same errors, installing git and creating such cmd

set GIT_PYTHON_REFRESH=0
set GIT_PYTHON_GIT_EXECUTABLE=C:\Users\....\AppData\Local\GitHubDesktop\app-1.0.6\resources\app\git\cmd\git.exe
python -m designer

Advice - LEAVE THE DESIGNER ALONE! Maybe, after it my python became strange (see the third remark below)  

Second - looks like, that you missed several dependencies 

for PIL


about SDL - check kivy.deps.sdl2 kivy.deps.glew and\or install https://support.microsoft.com/ru-ru/help/2999226/update-for-universal-c-runtime-in-windows if not WIN10  

I am sure, that you'll need 2 install kivy garden and many other libraries....

Third: I was successful with building exe under Windows only after creating clean venv and installing only needed libraries inside, according to https://kivy.org/docs/installation/installation-windows.html. See the image attached, how it's in pycharm.


четверг, 4 января 2018 г., 19:06:47 UTC+3 пользователь mastersr...@gmail.com написал:
Python.jpg

Erin Forsyth

unread,
Nov 14, 2019, 4:34:46 PM11/14/19
to Kivy users support
Anyone still needing help with this issue, this video may help. I was really frustrated trying to solve this issue and came out with a simple solution. https://youtu.be/gt-qndBYrCQ
Reply all
Reply to author
Forward
0 new messages