[root@localhost /]# python
Python 2.5 (r25:51908, Apr 10 2007, 10:29:13)
[GCC 4.1.2 20070403 (Red Hat 4.1.2-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite 2 import test
File "<stdin>", line 1
from pysqlite 2 import test
^
SyntaxError: invalid syntax
>>> from pysqlite2 import test
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/pysqlite2/test/__init__.py", line 35, in <module>
from pysqlite2.test import dbapi, types, userfunctions, factory, transactions,\
File "/usr/lib/python2.5/site-packages/pysqlite2/test/dbapi.py", line 27, in <module>
import pysqlite2.dbapi2 as sqlite
File "/usr/lib/python2.5/site-packages/pysqlite2/dbapi2.py", line 27, in <module>
from pysqlite2._sqlite import *
ImportError: /usr/lib/python2.5/site-packages/pysqlite2/_sqlite.so: undefined symbol: sqlite3_enable_load_extention
>>>