小编drf*_*nce的帖子

“yum update”后没有名为 yum 的模块

亚马逊 EC2 Linux AMI
Python 2.7.5
yum 3.4.3

我最近做了一个“yum update”,我猜这会导致我的问题。百胜现在这样做:

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

   No module named yum

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, Sep  3 2013, 23:16:48) 
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] …
Run Code Online (Sandbox Code Playgroud)

python yum amazon-ec2 redhat-enterprise-linux

3
推荐指数
1
解决办法
3万
查看次数

标签 统计

amazon-ec2 ×1

python ×1

redhat-enterprise-linux ×1

yum ×1