I am trying to install PyQT4 in a virtualenv. I am running Python3.2.1.
Here's what I've done so far:
sudo apt-get install qt4-dev-tools
this worked fine
I downloaded PyQt-x11-gpl-4.9.5 and sip-4.14
Inside the virtualenv I installed sip. No errors came up.
When I try to call:
python3.2 configure.py
for my PyQt it lets me accept the licence, does a bunch of stuff without errors then says:
Generating the C++ source for the QtCore module...
sip: Usage: sip [-h] [-V] [-a file] [-b file] [-c dir] [-d file] [-e] [-g] [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-P] [-r] [-s suffix] [-t tag] [-T] [-w] [-x feature] [-X id:file] [-z file] [file]
Error: Unable to create the C++ code.
As far as I can tell my issue is coming from the fact that I'm running the wrong version of Qt. I'm not so sure how to check my Qt version but I have QtAssistant installed and it refers to Qt4.8 so I assume I have that one.
So if it is a version issue:
1. how do I reliably check what version of Qt I'm running?
2. What version should I be running
Otherwise:
1. Wtf?
Any assistance will be greatly appreciated.
PS
I have looked at How to configure PyQt4 for Python 3 in Ubuntu? already. Nothing there helps me.