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?

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to