Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29011

Re: conflicting installations of python

From Ned Deily <nad@acm.org>
Subject Re: conflicting installations of python
Date 2012-09-12 20:06 -0700
References <da05ab8f-dbb4-4f23-8cbc-6b9a7b4f62e9@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.590.1347505618.27098.python-list@python.org> (permalink)

Show all headers | View raw


In article <da05ab8f-dbb4-4f23-8cbc-6b9a7b4f62e9@googlegroups.com>,
 azandi <azandi@adconion.com> wrote:

> I installed python 2.7.3 using macports on Lion, and used port select python 
> python27. However python version still shows 2.7.1.
> 
> Any ideas why is that happenning? And how to fix it?

Macports installs its ports into a separate root.  You need to ensure 
that the macports bin directory comes first on your shell search path;  
by default, it is /opt/local/bin.  Try something like this:

    export PATH=/opt/local/bin:$PATH

Otherwise, use an alias or an absolute path:

    /opt/local/bin/python

-- 
 Ned Deily,
 nad@acm.org

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

conflicting installations of python azandi <azandi@adconion.com> - 2012-09-12 16:44 -0700
  Re: conflicting installations of python Ned Deily <nad@acm.org> - 2012-09-12 20:06 -0700
    Re: conflicting installations of python azandi@adconion.com - 2012-09-12 21:36 -0700
      Re: conflicting installations of python Ned Deily <nad@acm.org> - 2012-09-12 22:55 -0700
    Re: conflicting installations of python azandi@adconion.com - 2012-09-12 21:36 -0700

csiph-web