I have Mac OSX 10.5.8 with Xcode installed. I want to avoid MacPorts and want to just get a solid Python install foundation so I can then move on to mess with Django and other things. I want to use Buildout with my Python applications.
I have installed binary Python 2.6.4 from the official site and installed this. Following other advice I have put this in my ~/.bash_profile file:
export PATH=/usr/local/bin:$PATH
So, when I do a 'which python' it shows '/usr/local/bin/python'. And, when I do a 'python -V' it shows 'Python 2.6.4' - this all seems great.
I've looked inside the '/usr/local/bin/' folder and, among other things, I seem to have the correct stuff pointing to Python 2.6:
python -> ../../../Library/Frameworks/Python.framework/Versions/2.6/bin/python
BUT, when I do an easy_install of virtualenv (that I want to use with Buildout) it seems to install it in: /Library/Python/2.5/site-packages/virtualenv-1.4.3-py2.5.egg
...which is Python 2.5? ...also, when I setup my Buildout folder using virtualenv, in there the .Python symlink is going to:
.Python -> /System/Library/Frameworks/Python.framework/Versions/2.5/Python
Why is this? I don't understand this. How can I get it all pointing to the correct Python 2.6?
Thank you so much for any answers, it's annoying the hell out of me. Cheers.