pyqt v3.* and v4.*

S

Skink

Hi,

Is it possible to have both versions of pyqt (in my case 3.14.1 and 4.0)?

Version 3 is built using sip 4.2.1, version 4 is built using sip 4.4.3

When I run pyqt 4.0 (but with installed sip 4.2.1) I get:

from PyQt4 import QtCore, QtGui
TypeError: invalid argument to sipBadCatcherResult()

When I run pyqt 3.14 (but with installed sip 4.4.3) I get:

import qt
Segmentation fault


Both 3.14 and 4.0 work, but not when installed together.

skink
 
P

Phil Thompson

Hi,

Is it possible to have both versions of pyqt (in my case 3.14.1 and 4.0)?

Yes - but not that version of PyQt3.
Version 3 is built using sip 4.2.1, version 4 is built using sip 4.4.3

When I run pyqt 4.0 (but with installed sip 4.2.1) I get:

from PyQt4 import QtCore, QtGui
TypeError: invalid argument to sipBadCatcherResult()

When I run pyqt 3.14 (but with installed sip 4.4.3) I get:

import qt
Segmentation fault


Both 3.14 and 4.0 work, but not when installed together.

Install the latest versions of PyQt3 and SIP.

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top