Prevent import of PyQt4 with an ImportError