Hi Russel,
I had the same problem with Python 2.7 and I fixed by commenting out some lines in my bash profile, like this:
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
#PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
#export PATH
My python path now defaults back to /usr/bin
lounge:~ lounge$ which python
/usr/bin/python
But it compiles…….
Kind Regards
Florian Baeumler