Before you start coding you will first need to have a working installation of PySide2 on your system. If you don't have PySide2 set up yet, the following sections will guide you through how to do this on Windows, macOS and Linux.
This guide is also available for macOS and Linux.
Installation on Windows
PySide2 for Windows can be installed as for any other application or library. As of Qt 5.6 installers are available to install via PyPi, the Python Package archive. To install PySide2 from Python3 simply run --
pip3 install pyside2
After install is finished, you should be able to run python
and import PySide2
.
Note that if you want access to Qt Designer or Qt Creator you will need to download this from https://qt.io/download[the Qt downloads site].
Never miss an update
Enjoyed this? Subscribe to get new updates straight in your Inbox.