Nevermind, fixed this by updating my PATH

export 
PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/:$PATH

-- 
Sam

On 9 Aug 2012, at 09:09, Samuel Halliday <[email protected]> wrote:

> Thanks,
> 
> 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
> 
> #!/usr/bin/python
> 
> 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).
> 
> -- 
> Sam
> 
> On 9 Aug 2012, at 00:09, Brandon Allbery <[email protected]> wrote:
> 
>> On Wed, Aug 8, 2012 at 7:01 PM, Sam Halliday <[email protected]> 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                                      [email protected]
>> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to