* 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." Thorsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/