I\'ve reïnstalled my ssh server, so I also need to reïnstall my Python packages.
I did that, but I still get the error:
ImportError: No module named PyQt
Try this command to solve your problem.
sudo apt install build-essential python3-dev libqt4-dev
This works for me in python3.