Install PySide6 on Ubuntu Linux

Install PySide6 on Ubuntu and other Debian-based Linux distributions
Heads up! You've already completed this tutorial.

Before you start creating applications with PySide6 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 Ubuntu Linux.

This guide is also available for macOS and Windows.

Install PySide6 on Ubuntu Linux

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

bash
pip3 install pyside6

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

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

You can now start creating Python GUI applications with PySide6.

Create GUI Applications with Python & Qt6 by Martin Fitzpatrick — (PySide6 Edition) The hands-on guide to making apps with Python — Over 10,000 copies sold!

More info Get the book

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

Install PySide6 on Ubuntu Linux was written by Martin Fitzpatrick with contributions from Punition Chaetognathan .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.