I Can't Install Kivy On Windows 10 With Py3.5
Solution 1:
Kivy now has 3.4, 3.5, 3.6 wheels, no compilation necessary. See installation documentation. The error is because you were trying to install Kivy from pip, where is only the stable version now (1.9.1), which is a little bit old and the code doesn't support py3.5 and higher in that state.
MSVC needs a little bit of tweaking and patches. The whole instructions are in pull requests, but those are still experimental only and there's a need to fix a pointer mismatch (another pull request).
Otherwise Kivy (at least for py3.4 and lower) uses gcc
. How to compile is written here
However, for casual usage you don't need to compile, because there are wheels. If you read the docs properly, you'll find out how to install it.
If you encounter Window
error, search here, there are already answered questions.
There are even unofficial wheels for py3.5 somewhere.
Solution 2:
Install PIP
Upgrade PIP
Install Microsoft CPP BUILD TOOLS. Google it, you can find it easily if this link is broken.
Download Kivy Package from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame You might face issues of "Wheel package is not supported". Just look for the package with win32 with/without AMD. Still, if you keep getting the same error, Just try downloading the different package and follow the following steps. Took me to download 3 Packages to get it right.
Open CMD
Change Directory to Downloads (Or wherever the package is downloaded)
Do
pip install completePackageName.whl
Ex:
C:\Users\UserName\Downloads>pip install Kivy-1.9.1+sdl2-cp35-cp35m-win32.whl
Solution 3:
Hi im using py38 and win10 too,
check this https://github.com/kivy/kivy/issues/6563
Anyone recommend run this command, (it works for me)
pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/
or try with https://www.lfd.uci.edu/~gohlke/pythonlibs/#kivy
Post a Comment for "I Can't Install Kivy On Windows 10 With Py3.5"