Michael> go into python and type:
Michael> from pysqlite2 import dbapi2
Michael> dbapi2.sqlite_version
Well, that failed:
$ /tmp/python-buildbot/local/bin/python
Python 2.6a0 (trunk:54421, Mar 17 2007, 11:17:17)
[GCC 4.0.0 (Apple Computer, Inc. build 5026)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite2 import dbapi2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pysqlite2
but pysqlite3 is there:
$ /tmp/python-buildbot/local/bin/python
Python 2.6a0 (trunk:54421, Mar 17 2007, 11:17:17)
[GCC 4.0.0 (Apple Computer, Inc. build 5026)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite3 import dbapi2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pysqlite3
>>> from sqlite3 import dbapi2
>>> dbapi2.sqlite_version
'3.1.3'
Does that help? Forgive me, I really have no idea how much of sqlite comes
with Python (is it just pysqlite?) or what it uses if there is another
version installed on the machine.
Skip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---