Today, I accidentally delete python site-packages directory on /usr/lib/python2.7/ when trying to uninstall Django. Oh my God, it causes yum on my fedora 20 machine is not working. When I try to execute yum update, yum clean all or yum install [packages], it returns the following error.
How to fix?
Check yum version
Download yum package depend on the version and machine type (32 or 64 bit)
Upgrade yum package
yum should work now, but sometime there was a problem with urlgrabber when trying to execute yum.