Using SQLite3 with python 2.5 beta

Fredrik Lundh fredrik at pythonware.com
Fri Jun 23 04:42:17 EDT 2006


Harold Shore wrote:

> I do have SQLite3 installed on my system, but after doing a 
> plain vanilla compilation of the the 2.5 beta and trying 
> the SQLite code given in the release notes I get the message 
> "NameError: name 'sqlite3' is not defined".
> 
> I wonder what the requirement means that "when the necessary 
> headers are available"?  How would they need to be made 
> available?

if you're installing from RPM:s (or similar), look for -dev or -devel 
packages.

most package providers distinguish between runtime files (required to 
run a prebuilt program that's been linked against a specific library) 
and development files (required to actually build such a program).

</F>




More information about the Python-list mailing list