I made sure to try installing PyQt4 on mac in many different ways, but I always get the error above. My attempts have in common installing Python 3.4 from the official website installer, then installing Qt4 from here and finally installing SIP from the package available in the Riverbanks website.
I've already tried to install PyQt4 by running the configure-ng.py, the configure.py without options and configure.py with a reasonable number of different combinations (by empiric/hopelessness purposes), but I know the "pattern" for the options would be "-q" option to indicate the qmake path, "-d" option to the python path and "--use-arch x86_64" to indicate, I guess, the machine architecture (I made sure to use "uname -a", something like that, to check if I really should use "x86_64"). Simply nothing worked!
After all that trouble, I have tried to install SIP and PyQt4 on the Python 2.7 and lastly I've tried to use Homebrew to install all that stuff. Again it doesn't worked.
Someone has idea what could fix the problem? (Unfortunately I have the possibility to work with a mac just once a week, then I cannot test your solutions immediately.)