主机论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 73|回复: 1

kt机器新装的系统yum 提示这个错误怎么解决

[复制链接]

702

主题

1926

帖子

5510

积分

论坛元老

Rank: 8Rank: 8

积分
5510
发表于 2022-5-5 11:38:18 | 显示全部楼层 |阅读模式
[root@LAX10-dynCe-001 ~]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /lib64/libxml2.so.2: 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, Apr 11 2018, 07:36:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

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

使用道具 举报

177

主题

2016

帖子

5067

积分

论坛元老

Rank: 8Rank: 8

积分
5067
发表于 2022-5-5 12:20:32 | 显示全部楼层
whereis python
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|主机论坛

GMT+8, 2024-4-27 04:16 , Processed in 0.076174 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表