I am trying to install llvm on my centos 6.7. While running the configure file it says it throws the error
checking for python >= 2.7... not found configure: error: found python 2.6.6 (/usr/bin/python); required >= 2.7 See `config.log' for more details.
So I installed python 2.7, but since the previous python version is already in there the configure shows the same error. I tried aliasing python with the new python version using
alias python=/usr/local/bin/python2.7
This made python2.7 to be executed while calling python. But the error while running the configure file is still there. How can I resolve this.
Yum
will often remove the old package, but if you usedrpm
it might have left the old package around to cause your issues). Also, as @vonbrand said, you should just be able to use your package manager to do the install.