亚马逊 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)