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


Groups > comp.lang.python > #29011

Re: conflicting installations of python

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'alias': 0.07; 'skip:/ 10': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:python': 0.11; '2.7.3': 0.16; 'installs': 0.16; 'path:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'shell': 0.18; 'otherwise,': 0.20; 'default,': 0.22; 'subject:skip:i 10': 0.22; 'absolute': 0.23; 'this:': 0.23; 'installed': 0.23; 'header:User-Agent:1': 0.26; 'select': 0.26; 'separate': 0.27; 'header:X-Complaints-To:1': 0.28; 'to:addr :python-list': 0.33; 'version': 0.34; 'something': 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'shows': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'first': 0.61; 'export': 0.62; 'received:204': 0.72; 'article': 0.78; 'received:204.14': 0.84; 'ports': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: conflicting installations of python
Date Wed, 12 Sep 2012 20:06:35 -0700
References <da05ab8f-dbb4-4f23-8cbc-6b9a7b4f62e9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.191
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.590.1347505618.27098.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347505618 news.xs4all.nl 6918 [2001:888:2000:d::a6]:59093
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29011

Show key headers only | 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