Never use pip install anything related to Qt on Ubuntu

As title, almost wasted me an hour to figure out the problem. Always install with sudo apt install and use system-site-packages for virtualenv

For example for QtWebEngine, install with

sudo apt-get install python3-pyqt5.qtwebengine

Leave a Reply

Your email address will not be published. Required fields are marked *