X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 6 Aug 2008 10:12:29 +0200 From: "Robert Latest" To: cygwin Subject: Python and sqlite3 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello people, I'm having problems using sqlite with Python in my cygwin installation. The line "import sqlite3" throws the error: $ python Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 Traceback (most recent call last): File "", line 1, in File "/tmp/python.6884/usr/lib/python2.5/sqlite3/__init__.py", line 24, in File "/tmp/python.6884/usr/lib/python2.5/sqlite3/dbapi2.py", line 27, in ImportError: No module named _sqlite3 >>> Now I know how to use Google, and I used it, and I found that there already were threads about this problem. However, from those threads I couldn't gather anything that would help me solve this problem. Maybe someone could tell me what's this all about. Where can I get the _sqlite3 module? sqlite3 itself is, of course, installed. I can use sqlite3.exe to access databases, it just doesn't seem to work with python. Thanks, robert -- 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/