Pages

4 Steps to install Kivy on Windows

Installing any additional file on a Windows device is very simple, as you can install and download it from an online source. Similarly, installing the Kivy Python Framework on windows is simple and straightforward as other third-party software. In this article, we will provide complete steps to download and install the Kivy Python framework on Windows.


  1. Download and install the latest version of Python from the official website.

Open the official Python website to download and install the latest version of Python on Windows. Follow the installation steps provided on the website or in the Python guide.


If you install the Python launcher, you would be more easily able to install multiple Python versions side by side and select, which to run, at each invocation.


  1. Open the command prompt and type the following command to install Kivy: 

  

  pip install kivy 


  1. Once the installation is complete, type the following command to check the version of Kivy installed: 

 

  python -m kivy -v


  1. To ensure that Kivy is properly installed, you can use the Kivy examples. Download and unpack the Kivy examples from the official website.


*.py files are automatically connected with your Python installation if you only have one instance of Python installed and if you installed it with the default settings. You can execute them by either double-clicking them in the file manager or typing their names into a console window. Both of these methods are equivalent (without having to prepend python).

Additionally, you can also launch a .py file using the Send to menu


  1. Open the command prompt and navigate to the location of the unpacked Kivy examples.


  1. Type the following command to run the example: 


    python main.py


  1. If the example runs successfully, then Kivy is properly installed.

No comments:

Post a Comment

Make new Model/Controller/Migration in Laravel

  In this article, we have included steps to create a model and controller or resource controller with the help of command line(CLI). Here w...