sgravity 发表于 2017-2-9 11:32:21

lnmp安装失败 PHP install failed

麻烦帮忙看下安装失败原因
系统版本
Linux localhost.localdomain 2.6.32-042stab116.2 #1 SMP Fri Jun 24 15:33:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux
多谢。。

licess 发表于 2017-2-9 13:43:01

[quoteThere 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.8 (default, Dec 15 2016, 01:53:19)


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

centos 6 默认是python 2.6,你这个显示2.7肯定是自己动过python造成的

sgravity 发表于 2017-2-9 14:01:45

回复 2# 的帖子

哦 明白了 多谢。。我把pyhon降级下
页: [1]
查看完整版本: lnmp安装失败 PHP install failed