Install PySide2 on Linux Ubuntu
Install PySide2 on Ubuntu and other Debian-based Linux distributions

Heads up! You've already completed this tutorial.

Before you start creating applications with PySide2 you will need to have a working installation on your system. If you don't have either set up yet, the following steps will guide you through how to do this on Linux Ubuntu.

This guide is also available for macOS and Windows.

Install PySide2 on Linux Ubuntu

The simplest way to install PySide2 on Linux is to use Python's pip packaging tool, just as for other packages. For Python3 installations this is usually called pip3.

[source,bash]

Over 10,000 developers have bought Create GUI Applications with Python & Qt!

To support developers in [[ countryRegion ]] I give a [[ localizedDiscount[couponCode] ]]% discount with the code [[ couponCode ]] — Enjoy!

For [[ activeDiscount.description ]] I'm giving a [[ activeDiscount.discount ]]% discount with the code [[ couponCode ]] — Enjoy!

pip3 install pyside2

After install is finished, you should be able to run python (or python3) and import PySide2 without errors.

python
Python 3.7.6
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySide2
>>>

You can now start creating Python GUI applications with PySide2.

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak