[PyQt] QtSql issue

Brian Makin merimus at gmail.com
Wed Jan 7 14:55:45 GMT 2009


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 "<string>", line 1, in <module>
ImportError: cannot import name QtSql

using QtCore or QtGui works just fine.
I've also attached some debugging output.

Anyone have a suggestion?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.error
Type: application/octet-stream
Size: 18681 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090107/929e7b16/python-0001.obj
-------------- next part --------------




More information about the PyQt mailing list