[pysqlite] pysqlite on osx 10.5.6
massimo di stefano <[email protected]> Tue, 10 Mar 2009 18:46:14 +0100
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
I'm tring to run pysqlite on osx
but it give me the follow errors :
>>> from pysqlite2 import test
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.5/site-packages/pysqlite2/test/
__init__.py", line 35, in <module>
from pysqlite2.test import dbapi, types, userfunctions, factory,
transactions,\
File "/Library/Python/2.5/site-packages/pysqlite2/test/dbapi.py",
line 27, in <module>
import pysqlite2.dbapi2 as sqlite
File "/Library/Python/2.5/site-packages/pysqlite2/dbapi2.py", line
27, in <module>
from pysqlite2._sqlite import *
ImportError: dlopen(/Library/Python/2.5/site-packages/pysqlite2/
_sqlite.so, 2): Symbol not found: _sqlite3_enable_load_extension
Referenced from: /Library/Python/2.5/site-packages/pysqlite2/
_sqlite.so
Expected in: dynamic lookup
>>>
have you any solution for these error ?
i tried to use the bundled sqlite 3.4 that comes with osx
the famewrok version provided by :
and a source installation 3.6.11
and pysqlite installed from the source hg (merury repository)
(the same error come up using the .tar.gz or the easy_install version)
but unlucky, running pysqlite i had the same problem :-(
goolging i find :
http://oss.itsystementwicklung.de/trac/pysqlite/ticket/238
but have you any idea on how to fix it without use :
port install sqlite3 +loadable_extensions
thanks for any help!
Massimo Di Stefano
[email protected]
epifanio on irc.freenode.net /join gfoss
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com