Actually both versions are 2.7.
But the first one is installed without enable shared and another is without. (I forgot which one)
I installed two version of them because some packages need python with enable shared (mod_wsgi, PIL, etc)
However, now I found that one can install mod_wsgi but not PIL.
Another can install PIL but not mod_wsgi. (So interesting!)
Now I just want both library works now.
When I install mod_wsgi with python2.7, the following error occurs:
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
When I install PIL with python, the same error occurs.
But I am sure one of them is installed with enable shared.
Cheers,
Cato