I'm trying to upgrade my Centos6 system to g++ 4.8 using the following commands:
$ wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
$ yum install devtoolset-2-gcc devtoolset-2-binutils
$ yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran
However I get an error on step 2:
# yum install devtoolset-2-gcc devtoolset-2-binutils
/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I've installed anaconda 4.4 and am running Python 3.6 from my Anaconda path. I'm not sure why I'm seeing this error when trying to upgrade g++.