[PyKDE] Build PyQt4 and PyQt3 in the same python

Andreas Pakulat apaku at gmx.de
Fri Dec 23 11:57:52 GMT 2005


even though I now know how to execute another python for a project in
eric3, I'd like to do the following:

Build Qt 3.3.5 + Python 2.3.5 into $HOME/pyqt
Then install sip-snapshot with that python
Then qscintilla into $HOME/pyqt
And then PyQt3 should go, unfortunately I get:

  File "configure.py", line 56, in ?
    if sipcfg.qt_version == 0:
  File "/home/andreas/pyqt/lib/python2.3/site-packages/sipconfig.py", line 173, in __getattr__
    raise AttributeError, "\"%s\" is not a valid configuration value or user option" % name
AttributeError: "qt_version" is not a valid configuration value or user option

When executing python configure.py (with adjusted PATH and QTDIR to

No I guess sip-snapshot is not working well together with PyQt3 but it
is needed for PyQt4, so there I have a dilemma: sip always installs in
$HOME/pyqt/lib/python2.3/site-packages and thus I cannot have both sips
in there at the same time, I think.

Thus the question: Is it possible to install PyQt4 and PyQt3 with the
same python? If so how?


Do what comes naturally.  Seethe and fume and throw a tantrum.

More information about the PyQt mailing list