From owner-freebsd-questions@FreeBSD.ORG Tue May 24 15:54:26 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2C3A106566C for ; Tue, 24 May 2011 15:54:26 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C307C8FC1B for ; Tue, 24 May 2011 15:54:26 +0000 (UTC) Received: by pzk27 with SMTP id 27so3920720pzk.13 for ; Tue, 24 May 2011 08:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=E5Bl22i3WVGCUR+EXeSQ4VGQTDEsGHx6jjhC7oo4mPk=; b=HCJNfV+XHShd4o1nDa21miXekUvlmhI4o3HJLwB2lu8T1HRe3pEBHjEc6FarDn8GpO fLQFfSXL6e4prvtBL13j2Fhkzmzo2LeUvSqE+7YYGn4GuRX8Y38hvfzb3jAjP+Gv/sX9 cG7kZSKz2J4jAFQVcaAQ9y/y9XVNMxyeKuzA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=DOJWNtMwjJJ2RkuKyv7A2qDiR0hIO4K2prx2iQwFvcrlC8IooUtLj2sqyxQ1+EoKxK UUDk5pNu9ds0Pds2Pn2KVr85MEc9j2gqshky4pTeok6seKAnlrDtnIVL1YAUlFSs5dCP iOqWb1F+kCIMgNjs5pkyrJDknNINyv85XifsU= Received: by 10.68.23.6 with SMTP id i6mr3014117pbf.314.1306252466100; Tue, 24 May 2011 08:54:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.43.71 with HTTP; Tue, 24 May 2011 08:53:46 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Tue, 24 May 2011 18:53:46 +0300 Message-ID: To: Maxim Khitrov Content-Type: multipart/related; boundary=bcaec52162233a99b904a4079aeb X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions Subject: Re: Enable Sqlite3 module in python X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2011 15:54:27 -0000 --bcaec52162233a99b904a4079aeb Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 24, 2011 at 13:41, Maxim Khitrov wrote: > On Tue, May 24, 2011 at 4:21 AM, Odhiambo Washington > wrote: > > Hello members, > > > > I am on FreeBSD 8.2-STABLE and I am running with python2.7. However I > have a > > problem: > > > > mail# python2.7 -c 'import sqlite3' > > > > Traceback (most recent call last): > > File "", line 1, in > > File "/usr/local/lib/python2.7/ > > sqlite3/__init__.py", line 24, in > > from dbapi2 import * > > File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in > > from _sqlite3 import * > > ImportError: No module named _sqlite3 > > > > > > How do I enable the sqlite3 module in python2.7 > > Install databases/py-sqlite3. The python installation shows the > following message when it is finished: > > ==== > Note that some of the standard modules are provided as separate > ports since they require extra dependencies: > > bsddb databases/py-bsddb > gdbm databases/py-gdbm > sqlite3 databases/py-sqlite3 > tkinter x11-toolkits/py-tkinter > > Install them as needed. > ==== > > - Max > Thanks, Max! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. --bcaec52162233a99b904a4079aeb--