Date: Tue, 23 May 2006 11:57:19 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Python port problems Message-ID: <448xoska3k.fsf@be-well.ilk.org> In-Reply-To: <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> (Joe Auty's message of "Mon, 22 May 2006 20:33:44 -0400") References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> <fb6605670605221727h719579a2gdeae84452036f6e8@mail.gmail.com> <2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Joe Auty <joe@netmusician.org> writes: > On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote: > >> On 5/22/06, Joe Auty <joe@netmusician.org> 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".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448xoska3k.fsf>