我在centos机器linux os上安装了python 2.7.5和mod_wsgi。这发生了:
# yum
Error processing line 1 of /usr/local/lib/python2.7/site-packages/abrt.pth:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site.py", line 152, in addpackage
exec line
File "<string>", line 1, in <module>
ImportError: No module named abrt_exception_handler
Remainder of file ignored
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in <module>
import yummain
File "/usr/share/yum/yummain.py", line 22, in <module>
import clientStuff
File "/usr/share/yum/clientStuff.py", line 18, in <module>
import rpm
ImportError: No module named rpm
yum 模块不运行,因为 rpm 模块不存在。我不知道如何安装 python-rpm 模块,如果我安装它会起作用吗?
谢谢。