Tag: 红帽

Python Redhat版本问题

可能重复: 升级python而不会破坏yum 我正在运行一个Redhat虚拟机(2.6.18-274.el5 64位)。 为了使用浏览器,我在vm上安装了nodejs。 为了让nodejs运行,我必须将Python升级到2.6或更高版本。 我使用make altinstall从源代码安装了2.7。 然后我创build了一个硬连接从2.4到2.7。 检查python -V现在显示2.7是默认的。 这一切都很好,节点现在正在运行。 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 […]