There was a problem importing one of the Python modules required to run yum.

General support questions
Post Reply
Lucid
Posts: 1
Joined: 2019/09/18 13:39:41

There was a problem importing one of the Python modules required to run yum.

Post by Lucid » 2019/09/18 13:45:43

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

/lib/libcurl.so.4: file too short

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, Nov 6 2016, 00:28:07)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

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

Re: There was a problem importing one of the Python modules required to run yum.

Post by avij » 2019/09/18 14:25:28

What do you get with these?

rpm -V libcurl
rpm -q libcurl
ls -l /lib/libcurl.so.4

Have you done changes related to curl/libcurl recently?

Post Reply

Return to “CentOS 7 - General Support”