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: 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 Subject: Re: conflicting installations of python Date: Wed, 12 Sep 2012 20:06:35 -0700 References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 In article , azandi 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