I get:
-bash-2.05b$ python python-sqlite-test.py
pysqlite2 failure /usr/local/lib/python2.4/site-packages/pysqlite2/_sqlite.so: Undefined symbol "PyGILState_Ensure"
so I guess something in my sqlite.so is bailing and thus isn't loading the
module properly.
does that look like a standard dependency?
Tim Diggins wrote:
well, the issue is you're not getting the problem when sqlite2/sqlite is
being imported but when the name sqlite is being accessed.
I'd try making a basic python script with just the correct shebang line
and the following:
try:
import pysqlite2.dbapi2 as sqlite
print "pysqlite2 success"
except ImportError, e:
print "pysqlite2 failure", e
try:
import sqlite
print "sqlite success"
except ImportError, e:
print "sqlite failure", e
and then when you execute it (hopefully) you'll get some kind of import
failure which will be printed out. Maybe you've got a bad install of one
of the bindings, or maybe you have the bindings but not sqlite itself?
--
--
I do things for love or money
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac