Why can't I select the Mountain Lion Python 2.7?

Samuel Halliday sam.halliday at gmail.com
Thu Aug 9 01:09:54 PDT 2012


I figured that might be the case. Apple even seem to be shipping three different versions of Python this time around - and nobody wants to use them!

Fundamentally, my problem is that I want to install a python library with "easy_install" and that is connected to the system Python. Furthermore, I frequently come up against scripts that start


instead of, what we all know should be used,

#!/usr/bin/env python

Other than changing the scripts, or manually sudo changing /usr/bin/python, is there a solution to that problem?

And, can somebody please advise on how to install "easy_install"?

PS: I'm increasingly becoming more opposed to mailing lists - they require so much setup. Is this community also active on http://stackoverflow.com/questions/tagged/macports ? I find Stack Overflow to be a much more natural place for these sorts of Q&As, with mailing lists being reserved for discussions (Google Groups is easily the most superior choice).


On 9 Aug 2012, at 00:09, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday <sam.halliday at gmail.com> wrote:
> Furthermore, is it possible to install "subversion-python27bindings" against
> the system Python 2.7?
> No it is not, no this is not a bug, no it will not be "fixed".  This is also why there's no mechanism to select the system python (although it wouldn't be that difficult to add one, it's usually a bad idea).
> https://trac.macports.org/wiki/FAQ#ownlibs (and most of the questions around it) 
> Homebrew was the most recent attempt by someone to pretend that avoiding the system-installed stuff is "just being stupid" or whatever.  It, like everyone else, has switched to installing and managing its own ecosystem.
> -- 
> brandon s allbery                                      allbery.b at gmail.com
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4893 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120809/b31174cf/attachment.p7s>

More information about the macports-users mailing list