As we will be using Kivy, you can go to https://kivy.org/ and review the installation instructions.Depending on your OS, and whether you're using a virtual Python environment, Łand other factors, there are different ways to install the software.
By default, Kivy applications are designed to scale according to the device or the user's desires. If we were to allow this, we would have to hand-draw the schematic drawing within Kivy, or otherwise create the HMI from scratch. If we used the schematic drawing as a background image and placed widgets on top, the widgets would not maintain the same position relative to the schematic drawing when scaled.
Having a scalable image is the most desirable option, but for the purpose of this book, we will use the schematic drawing as a background image and block scaling. Therefore, any widgets that we place...