Important: Please read the Qt Code of Conduct -

QSqlDatabase: QSQLITE driver not loaded

  • Hi , there .
    I know that this question was discussed many times , but i'm still can't resolve situation , will appreciate any help !
    Anaconda Python 2.7 + PyQt 4 , Sierra .
    db = QtSql.QSqlDatabase.addDatabase('QSQLITE')
    QSqlDatabase: QSQLITE driver not loaded
    QSqlDatabase: available drivers:
    QSqlQuery::exec: database not open

    print QtSql.QSqlDatabase.drivers()
    print QtGui.QApplication.libraryPaths()

    [u'/Users/xxx/anaconda/plugins', u'/Users/xxx/anaconda/bin']

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    How did you install PyQt exactly ? Through conda ? By hand ?

Log in to reply