Curious about python installation paths, especially on OSX.

Posted by chiggsy on Stack Overflow See other posts from Stack Overflow or by chiggsy
Published on 2010-05-06T23:41:39Z Indexed on 2010/05/06 23:48 UTC
Read the original article Hit count: 314

Filed under:
|

First: I'm running Macports. No problems with that, except:

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin

which is the value of sys.exec_prefix, for my macports python even though:

/opt/local/lib/python2.6/site-packages/ 

seems to be quite a logical place to put things, /opt/local being the macports --prefix, as it were. Why does easy_install put things in this odd Frameworks/Python.framework thing?

More importantly, can i use the methods here, to ensure that all my systemwide python, particularly the scripts which I really want in /opt/local/bin, things I use all over the place like (i|b)python for example are accessible?

© Stack Overflow or respective owner

Related posts about python

Related posts about osx