From pykde Fri Dec 23 13:15:51 2005 From: Andreas Pakulat Date: Fri, 23 Dec 2005 13:15:51 +0000 To: pykde Subject: Re: [PyKDE] Build PyQt4 and PyQt3 in the same python Message-Id: <20051223131551.GA17628 () morpheus> X-MARC-Message: https://marc.info/?l=pykde&m=113534392205771 On 23.12.05 12:05:57, Phil Thompson wrote: > On Friday 23 December 2005 11:57 am, Andreas Pakulat wrote: > > Hi, > > > > 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 > > $HOME/pyqt) > > > > 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? > > You must use a PyQt3 snapshot. I knew this would turn out to be a stupid question :-( Andreas -- Things will be bright in P.M. A cop will shine a light in your face. _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde