安装python

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令安装python和相关组件。

    yum install python3 python3-pip python3-devel
    pip3 install virtualenv