problem importing one of the Python modules required to run yum

General support questions
Post Reply
oscar.posada
Posts: 1
Joined: 2019/02/10 08:37:13

problem importing one of the Python modules required to run yum

Post by oscar.posada » 2019/02/10 08:41:16

Hi team,
i have this problem "yum"

[oposada@CONTROLM site-packages]$ yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks

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, Oct 30 2018, 23:45:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq



#Os Info.
#[oposada@CONTROLM site-packages]$ uname -a
#Linux CONTROLM.oposada.mx 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
#[oposada@CONTROLM site-packages]$ cat /etc/redhat-release
#CentOS Linux release 7.6.1810 (Core)

#help

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: problem importing one of the Python modules required to run yum

Post by avij » 2019/02/10 09:11:14

What do these output:
rpm -qf /usr/lib64/python2.7/site-packages/pycurl.so
rpm -Vf /usr/lib64/python2.7/site-packages/pycurl.so

Post Reply