Hi, unfortunately I am unable to reproduce your problem over here. I created a Python script with just the line you were mentioning in your email, but I didn't get any error. Could you provide more details (like version numbers).
Regards, Detlev On Samstag, 20. Oktober 2007, Pradnyesh Sawant wrote: > Hello, > I have the following single line in my .py file: > > from PyQt4 import QtCore, QtGui > > if i run it from eric, i get the following error: > > unhandled RuntimeError > "the PyQt4.QtCore and qt modules both wrap the QObject class" > > i think that eric is probably trying to load both Qt3 and Qt4, but i don't > understand why (i'm explicitly mentioning PyQt4). How do i tell eric to use > just Qt4, and not Qt3? > > ps: i have made both Qt and Qt4 Directory to contain /usr/share/qt4, in > preferences->qt. but that too does not help. -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt