Python 2.7 on CentOS 5.x - jneubert/doc GitHub Wiki

Using SCL, following the docs.

Comes up with

# scl enable python27 bash
# python -V
python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

Solved by

# cd /usr/lib64
# ln -s /opt/rh/python27/root/usr/lib64/libpython2.7.so.1.0
# python -V
Python 2.7.5