Re: [PyQt] QtSql issue

2009-01-08 Thread Filip GruszczyƄski
Probably you haven't installed qt modules and PyQt can't find them. At least I encountered such problem recently, when tried to import phonon. I had PyQt installed with qt-core and qt-gui modules from qt, but not phonon. I don't how it exactly works on ubuntu, but on gentoo I simply had to install

[PyQt] QtSql issue

2009-01-07 Thread Brian Makin
I've just installed pyqt on an ubuntu box and many of the examples work fine. When I try to run the sql examples I get the following error. python -c "from PyQt4 import QtSql" Traceback (most recent call last): File "", line 1, in ImportError: cannot import name QtSql using QtCore or QtGui