Preparing application...
How to install kivy python on Windows

How to install kivy python on Windows

For those who are interested in Android programming through Python, they can start learning by installing 

211 Visit

If you have any questions, ask!

For those who are interested in Android programming through Python, they can start learning by installing Kivy Python on Windows.

The first step to use Kiwi is to install Python, if you are just starting to learn and do not have Python installed on your system, you need to learn how to install Python on Windows 7 before continuing.

After installing Python to start Android programming through Python, follow the article of Iteros Academy.

Installing Kiwi on Windows

You can install Kiwi in different ways. Both separately by executing the necessary commands by CMD and through user interfaces through which you can program.

In the next articles, we are going to teach kivy projects on its most powerful user interface called Pycharm IDE, so in this article we explain two methods of installing Kivy.

  1. The first method: install separately
  2. Second method: Installation through Pycharm IDE

Install kivy separately

To install kivy, enter the following commands through CMD.

1. Update or install pip

python -m pip install --upgrade pip wheel setuptools

2. Install dependencies

python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy.deps.gstreamer

3. After that

python -m pip install kivy.deps.angle

4. Install Kiwi

python -m pip install failed

5. You can install Kiwi as follows (this is optional)

python -m pip install kivy_examples

Finally, the Kiwi installation is finished, but Kiwi may give an error at the last stage. If so, download this file from the following address.

Address: https://www.lfd.uci.edu/~gohlke/pythonlibs

File: Kivy-1.11.1-cp38-cp38-win_amd64.whl

After receiving the file, put it in drive c and run the following code.

python -m pip install c:\Kivy-1.11.1-cp38-cp38-win_amd64.whl

Install via Pycharm IDE

Before installation, the software must be installed on the system.

If you have already installed the software, continue with the tutorial.

Otherwise, read the Pycharm IDE tutorial and then follow the tutorial.

Follow the path below to install kivy through Pycharm IDE.

File > Settings > Project: pythonProject > Python Interpreter

Pay attention to this point, pythonProject is the name of the first project that is created after installing Pycharm IDE if you do not create a new name for it yourself.

If you choose another name for your project, that name will be placed in this field.

By default, two packages are installed on the Python Interpreter page

  • pip
  • setuptools

If you look at the Kivy installation manual separately, exactly these two packages are written before installing Kivy. Therefore, to install these two packages, they must be in this section.

How to install Kiwi on Pycharm

To install the new package, click on the positive button according to the image and type the word kivy in the search field from the opened menu and click on the Install Package button.

Installing the package on pycharm

Wait a few moments for the package to download and install.

Finally, a green message will be displayed next to the Install Package button as a sign of successful installation.

Sometimes you get an error at this stage and the package is not installed. It is necessary to go to the following address and download the file.

Address: https://www.lfd.uci.edu/~gohlke/pythonlibs

File: Kivy-1.11.1-cp38-cp38-win_amd64.whl

After downloading, put the file in drive c and enter the following address in the Options section.

c:\Kivy-1.11.1-cp38-cp38-win_amd64.whl

Installing the package on pycharm

Finally, you will see the message installed successfully. Exit this page.

Now, on the Python Interpreter page, you should see that other packages, including kivy, have been added to the program.

Congratulations, you have successfully installed Kiwi.

Source » Itroz Academy

Related articles


What is MVC architecture?
Customizing the scroll bar with webkit
Array/List methods in Python
Functions in Python

Comments (0)

To send a comment please login