You may get an error when you run yum update command. 

# yum update

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named pycurl

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Jun 17 2014, 18:11:42)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)]

If you cannot solve this problem yourself, please go to
the yum faq at:


Download the pycurl package using wget command and extract the file,
# wget

# tar -xf pycurl-7.19.0.tar.gz

# cd pycurl-7.19.0

execute the command,
# sudo python2.7 install

Using curl-config (libcurl 7.29.0)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
running install_egg_info
Removing /usr/lib64/python2.7/site-packages/pycurl-7.19.0-py2.7.egg-info
Writing /usr/lib64/python2.7/site-packages/pycurl-7.19.0-py2.7.egg-info

Now, you can execute the command yum update.

Error 2 :

Also i am getting another error when using yum command,
/usr/lib64/python2.7/site-packages/ undefined symbol: CRYPTO_num_locks

Recompile the Python same version.