Re: SQLite Version Issues

Ed Pasma <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Hello, it works here. At least you have to edit pysqlite setup.cfg:

[build_ext]
define=
include_dirs=/usr/local/include
library_dirs=/usr/local/lib
libraries=sqlite3

Regards, Ed

> Hello,
>
> I'm receiving "unsupported file format" errors when I try to execute
> SQL statements using pysqlite.  Database created using SQLite 3.5.2.
>
> I've installed SQLlite 3.5.2 from source, however pysqlite only sees
> SQLite 3.1.3:
>
>>>> from pysqlite2 import dbapi2 as sqlite
>>>> sqlite.sqlite_version
> '3.1.3'
>
> I'm using Mac OS X 10.4.11,  how do I get pysqlite to use SQLite  
> 3.5.2?
>
> Thanks,
> Charles
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.