From owner-freebsd-questions@FreeBSD.ORG Tue May 23 15:57:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A645016A71B for ; Tue, 23 May 2006 15:57:29 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1583543D48 for ; Tue, 23 May 2006 15:57:21 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 21103 invoked from network); 23 May 2006 15:57:21 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 May 2006 15:57:21 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id EDB2628423; Tue, 23 May 2006 11:57:19 -0400 (EDT) To: Joe Auty To: FreeBSD Questions References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> From: Lowell Gilbert Date: Tue, 23 May 2006 11:57:19 -0400 In-Reply-To: <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> (Joe Auty's message of "Mon, 22 May 2006 20:33:44 -0400") Message-ID: <448xoska3k.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: Python port problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:57:36 -0000 Joe Auty writes: > On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote: > >> On 5/22/06, Joe Auty wrote: >>> Starting up Mailman on one machine I'm on produces the following >>> error message (see below). For some reason, this is not a problem >> >> Test your python installation. Try >> >> python -c 'import sys; print sys.path' >> >> See which python interpreter this is, /usr/local/bin/python most >> likely, and make sure that mailman is using this python. >> > > I'm not sure how to determine what Python Mailman is using, but the > only Python I've installed on the system is from FreeBSD ports, > unless some other software bundles its own... > > Here is the output of the command printed above: > > $ python -c 'import sys; print sys.path' > ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ > local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- > tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ > python2.4/site-packages'] > > > I don't have a /usr/local/bin/python in there. Is that my problem? That's where the ports would install it, so that does sound like a problem. Look at "which python" and "pkg_info|grep python".