Installing PyQt in Ubuntu 16.04 LTS

If you want to install PyQt on Ubuntu/Linux, use the following command. This command will install the PyQt library, its dependencies, and some Qt tools:

    $ sudo apt-get install python-qt4 pyqt4-dev-tools

Get Learning Robotics using Python - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.