YUM : No module named pycurl in Linux / CentOS 7
January 12 2015
You may get an error when you run yum update command.
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,
execute the command,
Using curl-config (libcurl 7.29.0)
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/pycurl.so: undefined symbol: CRYPTO_num_locks
Recompile the Python same version.