From owner-freebsd-questions@FreeBSD.ORG Tue May 23 16:43:20 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 3058516AC84 for ; Tue, 23 May 2006 16:43:20 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD68043D5A for ; Tue, 23 May 2006 16:43:11 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1FiZyC-0007us-4L; Tue, 23 May 2006 17:42:56 +0100 Received: from [80.192.24.108] (helo=[192.168.0.2]) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1FiZy8-0002Hp-EA; Tue, 23 May 2006 17:42:52 +0100 Message-ID: <44733B8B.6030404@dial.pipex.com> Date: Tue, 23 May 2006 17:42:51 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Questions , Joe Auty References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> <448xoska3k.fsf@be-well.ilk.org> In-Reply-To: <448xoska3k.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Python port problems 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, 23 May 2006 16:43:31 -0000 Lowell Gilbert wrote: >Joe Auty writes: > > >> >>$ 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". > > The executable /usr/local/bin/python has no business being in the path for *modules*. This is not your problem. I have never used mailman so do not know how it picks up its modules. It *might* install them into one of these directories on the module patch, but more likely it just pushes its own directory of modules onto this path when it runs, in which case the output you have won't help. Have you tried simply re-installing mailman? Maybe you upgraded python at some point after installing mailman and that is throwing something. --Alex