well dah ...
yum is DEPENDENT !!!! on the default version already installed
that version MUST stay installed
this is a known thing for many YEARS
you can NOT replace it !!!!
now you CAN install a second newer version in a side by side set up
AS PER EVERY AND ALL documentation for RHEL / CentOS / SL
--------------
you are in a pickle / mess
chances are that you ALSO busted " rpm "and the database
to check run
Code:
su -
rpm -qa | grep yum
i am betting you get a error
if this is NOT a
FULLY UP TO DATE!!! install you will have PROBLEMS!!!
UNINSTALL the version you installed !!!!!!! if possible ( you used pip )
manually ( in firefox) download the last update for python in the SL 6.6 repo
http://ftp.scientificlinux.org/linux...ew/python.html
if rpm is by chance working
you might be able to have firefox install the rpm using rpm
or dl it
and do a FORCE!!! reinstall
Code:
su -
cd /to/location/of/rpm
rpm --force --install python-2.6.6-52.el6.x86_64.rpm
if rpm is broken -- likely
use file-roller in gnome to extract the rpm
and as root copy/paste the files in the correct place
then pray
and reboot
then try yum