Setup & Creating A Simple Kivy ApplicationLast Update : 03 Jul, 2022
What is Python Kivy?
Kivy is a Python module that allows the creation of cross-platform compatible graphical user interface (GUI) applications using Python. We can run Kivy applications on iOS, Android, Windows, OS X, and GNU/Linux.
Kivy allows you to create a GUI using widgets and layouts. Also, It is similar to Python Tkinter in the way you develop applications.
Installing Kivy on Your PC
Before start developing the Kivy apps, We must download and install Kivy on Our PC. Using the pip command is the easiest way to download and install Kivy on Our PC.
So, we can test the pip command running on your system by opening CMD and typing pip.
If any error is not received, can continue with the instructions.
If the pip command does not work on your PC, need to add pip to your system path.
So, There is more than one way to add pip to your system path. But, the easiest way is to modify your python installation and add pip to the system path.
If the pip command is working then you need to install Kivy by typing the following commands into your command prompt.
python -m pip install --upgrade pip wheel setuptools python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew python -m pip install kivy.deps.gstreamer python -m pip install kivy.deps.angle python -m pip install pygame python -m pip install kivy