Problem with pysqlite2

A forum for general discussion of the Python programming language.

Problem with pysqlite2

Postby kisscussarab » Wed May 08, 2013 3:34 pm


I am trying to setup sqlite3 version with pysqlite2. I can build the pysqlite2 and generate the file. When I test it and try and run the tests I get the following error:

Code: Select all
>>> from pysqlite2 import test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".../pysqlite-2.6.3/build/lib.solaris-2.10-i86pc-2.6/pysqlite2/test/", line 35, in <module>
    from pysqlite2.test import dbapi, types, userfunctions, factory, transactions,\
  File ".../pysqlite-2.6.3/build/lib.solaris-2.10-i86pc-2.6/pysqlite2/test/", line 27, in <module>
    import pysqlite2.dbapi2 as sqlite
  File ".../pysqlite-2.6.3/build/lib.solaris-2.10-i86pc-2.6/pysqlite2/", line 27, in <module>
    from pysqlite2._sqlite import *
ImportError: isapython2.6: fatal: relocation error: file .../pysqlite-2.6.3/build/lib.solaris-2.10-i86pc-2.6/pysqlite2/ symbol sqlite3_complete: referenced symbol not found

Could you please if you know let me know what I am doing wrong.


Posts: 1
Joined: Wed May 08, 2013 3:25 pm

Re: Problem with pysqlite2

Postby setrofim » Wed May 08, 2013 4:10 pm

Any reason you're not using the sqlite3 module in the standard library?
Posts: 288
Joined: Mon Mar 04, 2013 7:52 pm

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests