Related Course: Create GUI Apps with Python PyQt5 How to install PyQt5 on Windows? In this article you’ll learn how to install the PyQt module.ĭesktop applications made with PyQt are cross platform, they will work on Microsoft Windows, Apple Mac OS X and Linux computers (including Raspberry Pi). To install PyQt on Windows there are a few steps you need to take.įirst use the installer from the qt-project website, from qt to install PyQt. Next you want to install a Python version 3.3 or newer. Check the box to add all of the PyQt5 extras. On Python >= 3.6, you can also try this command: 1 It’s not necessary to compile everything from source, you can install all the required packages with the installer. On Apple Mac OS X installation is a bit simpler. The first step to take is to install the Mac OS X binary. You can use brew to install pyqt (in the terminal): 1 This installs the PyQt GUI library.īut to use it from Python, you also need Python module. Python is often installed by default on Linux (in nearly all of the distributions including Ubuntu). You can verify that you have the newest Python version with the command: 1 But you want to make sure to use Python 3, because of all the features and ease of use. On Ubuntu Linux they sometimes include two versions of python, python3 and python. Once you have Python ready, the next step is to install PyQt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |