Re: Correctly Importing SQLite3 in Python-2.5

Rich Shepard <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Tue, 13 Nov 2007, Dennis Lee Bieber wrote:

> 	I suspect /that/ shared library is part of SQLite3 install. pysqlite
> is just a Python DB-API adapter designed to call into SQLite3... So...
> have you downloaded/installed the stand-alone SQLite3?

   I've been building and installing SQLite using my SlackBuild script since
I started using the library. Pysqlite2 uses the python install tools. The
problem turned out to be a broken Python2.5 package because, for whatever
reason, Pat decided to not include SQLite support in it with the
Slackware-12.0 release.

   So, I downloaded the source tarball for Python-2.5.1, configured it, built
it, and copied the requisite library to
/usr/lib/python2.5/site-packages/lib-dynload/ and everyone's happy.

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
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.