X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 05 Nov 2007 11:19:13 -0500 From: Jason Tishler Subject: Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail In-reply-to: <677d37110711050406l571db71chd8f92bf0a4af7157@mail.gmail.com> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20071105161913.GA3008@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline References: <677d37110711050406l571db71chd8f92bf0a4af7157 AT mail DOT gmail DOT com> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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/