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
As mentioned in the comments, you need to install the python-qt4 package - no need to recompile it yourself.
python-qt4
sudo apt-get install python-qt4