Re: SQLite Version Issues

Ed Pasma <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Fine, at least until you start using specific MacPython modules that  
include OS-X its in-core sqlite engine.

Op 24-nov-2007, om 13:43 heeft Charles Haron het volgende geschreven:

> Deleting the old build directory is the step I missed.  Problem  
> solved.
>
> Thanks,
> Charles
>
> On Nov 24, 2007, at 5:03 AM, Ed Pasma wrote:
>
>> If the build directory was still there from the original build, it  
>> must be cleared in this case.
>>
>>> Hello,
>>>
>>> I made the changes. Then ran "python setup.py build" and "python  
>>> setup.py install" again, but sqlite_version still returns  
>>> '3.1.3', and I'm still getting the "unsupported file format" error.
>>>
>>> Is there anything else I can try?
>>>
>>> Thanks,
>>> Charles
>>>
>>> On Nov 23, 2007, at 2:26 PM, Ed Pasma wrote:
>>>
>>>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> pysqlite mailing list
>>>> pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
>>>> http://lists.initd.org/mailman/listinfo/pysqlite
>>>
>>> _______________________________________________
>>> pysqlite mailing list
>>> pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
>>> http://lists.initd.org/mailman/listinfo/pysqlite
>>
>> _______________________________________________
>> pysqlite mailing list
>> pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
>> http://lists.initd.org/mailman/listinfo/pysqlite
>
> _______________________________________________
> pysqlite mailing list
> pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
> http://lists.initd.org/mailman/listinfo/pysqlite

_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/pysqlite
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.