I'm trying to install Kivy on Python 3.8, but I'm not sure why it's not working.
I was following these instructions, but I was having trouble when I got to the part where I finally install Kivy:
python -m pip install kivy==1.11.1
EDIT:
Tried installing pkg-install, but it didn't work.
Tried installing pkg-config inside virtual environment, but didn't work.
Tried installing Windows 10 SDK to fix the io.h issue, but that gave new errors.
I got the following error msg after installing the Windows 10 SDK:
(top error msg was actually cut off from the amount of text)
[...] a bunch of copying
\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_disabled_key_normal.png -> build\lib.win-amd64-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_key_down.png -> build\lib.win-amd64-3.8\kivy\tools\theming\defaulttheme
copying kivy\tools\theming\defaulttheme\vkeyboard_key_normal.png -> build\lib.win-amd64-3.8\kivy\tools\theming\defaulttheme
running build_ext
----------------------------------------
ERROR: Failed building wheel for kivy
Running setup.py clean for kivy
Building wheel for Kivy-Garden (setup.py) ... done
Created wheel for Kivy-Garden: filename=Kivy_Garden-0.1.4-py3-none-any.whl size=4536 sha256=ccdae0685665ec663c778d7d305fb2f1d0c2aa16d16fd34db6b355d32e8016e1
Stored in directory: c:\users\redxx\appdata\local\pip\cache\wheels\d2\72\1a\9ddd17f00755707937caa350616965fb3330a6270425f397e6
Successfully built Kivy-Garden
Failed to build kivy
Installing collected packages: urllib3, certifi, idna, chardet, requests, Kivy-Garden, kivy
Running setup.py install for kivy ... error
ERROR: Command errored out with exit status 3221225477:
command: 'C:\Users\redxx\kivy_venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\redxx\\AppData\\Local\\Temp\\pip-install-bd6bdwng\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\redxx\\AppData\\Local\\Temp\\pip-install-bd6bdwng\\kivy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\redxx\AppData\Local\Temp\pip-record-sxsypwdh\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\redxx\kivy_venv\include\site\python3.8\kivy'
cwd: C:\Users\redxx\AppData\Local\Temp\pip-install-bd6bdwng\kivy\
Complete output (512 lines):
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
[...] a bunch of running/creating/copying
RROR: Command errored out with exit status 3221225477: 'C:\Users\redxx\kivy_venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\redxx\\AppData\\Local\\Temp\\pip-install-bd6bdwng\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\redxx\\AppData\\Local\\Temp\\pip-install-bd6bdwng\\kivy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\redxx\AppData\Local\Temp\pip-record-sxsypwdh\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\redxx\kivy_venv\include\site\python3.8\kivy' Check the logs for full command output.
Could anyone please help me understand what the issue is and how I ought to resolve it?