RHEL5.4系统如何进行Python版本升级?

2026-05-28 20:350阅读0评论SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计551个文字,预计阅读时间需要3分钟。

RHEL5.4系统如何进行Python版本升级?

:RHEL5.4升级Python

我的RHEL 5.4 64bit系统预装的Python是2.4.3。想升级到Python 2.7。

首先卸载现有的Python 2.4:sudo rpm -e py

标题: 在RHEL5.4上升级Python

我的RHEL 5.4 64bit预装的是python2.4.3,

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.4 (Tikanga)

python --version


想升级到python 2.7。 打算先卸载 py 2.4, 运行 rpm -e python, 报失败, 因为有很多东西依赖py2.4。 并且运行ps -ef|grep -i py, 发现还有几个进程正在使用python. 看来是不应该卸载python2.4。

阅读全文

本文共计551个文字,预计阅读时间需要3分钟。

RHEL5.4系统如何进行Python版本升级?

:RHEL5.4升级Python

我的RHEL 5.4 64bit系统预装的Python是2.4.3。想升级到Python 2.7。

首先卸载现有的Python 2.4:sudo rpm -e py

标题: 在RHEL5.4上升级Python

我的RHEL 5.4 64bit预装的是python2.4.3,

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.4 (Tikanga)

python --version


想升级到python 2.7。 打算先卸载 py 2.4, 运行 rpm -e python, 报失败, 因为有很多东西依赖py2.4。 并且运行ps -ef|grep -i py, 发现还有几个进程正在使用python. 看来是不应该卸载python2.4。

阅读全文