1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail
Mon Nov 5 20:07:00 GMT 2007
* Jason Tishler (Mon, 05 Nov 2007 11:19:13 -0500)
> On Mon, Nov 05, 2007 at 08:06:40PM +0800, Vincent Huang wrote:
> > when i try to import sqlite3 in python, it results:
> > .......
> > File "/usr/lib/python2.5/sqlite3/dbapi2.py"
> > from _sqlite3 import *
> > ImportError: No module name _sqlite3
> AFAICT, Python's _sqlite3 extension module is dependent on SQLite
> <http://www.sqlite.org/> which is not part of the standard Cygwin
> distribution. This is why Cygwin Python does not contain _sqlite3.dll.
Well, but it should because it's a part of a standard Python
installation. See "New, Improved, and Removed Modules":
"If you're compiling the Python source yourself, note that the source
tree doesn't include the SQLite code, only the wrapper module. You'll
need to have the SQLite libraries and headers installed before
compiling Python, and the build process will compile the module when
the necessary headers are available."
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin