This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail


Vincent,

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.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]