On Mac OS X, do you use the shipped python or your own?
Posted
by The MYYN
on Stack Overflow
See other posts from Stack Overflow
or by The MYYN
Published on 2010-06-16T11:06:23Z
Indexed on
2010/06/16
11:32 UTC
Read the original article
Hit count: 248
On Tiger, I used a custom python installation to evaluate newer versions and I did not have any problems with that*. Now Snow Leopard is a little more up-to-date and by default ships with
$ ls /System/Library/Frameworks/Python.framework/Versions/
2.3 2.5 2.6 @Current
- What could be considered best practice? Using the python shipped with Mac OS X or a custom compiled version in, say
$HOME. - Are there any advantages/disadvantages using the one option over the other?
My setup was fairly simple so far and looked like this: Custom compiled Python in $HOME and a $PATH that would look into $HOME/bin first, and subsequently would use my private Python version. Also $PYTHONPATH pointed to this local installation. This way, I did not need to sudo–install packages - virtualenv took care of the rest.
© Stack Overflow or respective owner