2011/4/23 Helmut Müller <helmut.muel...@ingenieurbuero-mbi.de> > and hello again, > > > > But now there is an other Problem for me., When trying to import the > python interpreter claims: > > > > >>> from PyQt4 import QtCore > > RuntimeError: the sip module implements API v8.0 to v8.1 but the > PyQt4.QtCore module requires API v7.0 > > > > I did not find anything about the API Version of sip in its > documentation. So, where can I get the right sip-version for the precompiled > PyQt4 ? Or any other idea how to avoid this? > > > > I found an older Version of sip on http://pyqwt.sourceforge.net/support/and > installed sip-10.5.1 and the API problem disappeared as expected. > > But when running the example helloworld.py x11 starts up, but the programm > aborts with following failure-message: > > macbookpro:HelloWorld helmutmuller$ /usr/bin/python helloworld.py > resize event for qtBaseViewer > resize event for qtBaseViewer > Display3d class initialization starting ... > terminate called after throwing an instance of > 'Aspect_GraphicDeviceDefinitionError' > Abort trap > > So I´ll have to do further investigations.... > > best regards, Helmut > > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users >
Hi Helmut, I think that this version of PyQt (the one from pyqwt)is built upon Cocoa/Carbon, not x11. To render the opencascade pipe, you need to have a window manager built upon x11. That's why you have to use the qt4-x11 from fink. If you don't use a qt4/X11 based, you will have this 'Aspect_GraphicDeviceDefinitionError'. Thomas
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users