pxfb
# 安装所有的开发工具包
yum groupinstall -y "Development tools"
# 安装其它的必需包
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel

# 下载、编译和安装 Python 2.7.13
#wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
tar zxf Python-2.7.13.tgz
cd Python-2.7.13
./configure
make && make install

# 查看新的 Python 版本,返回 Python 2.7.13 为正常
python --version

Python 2.7.13

分类:

技术点:

相关文章:

  • 2021-11-28
  • 2021-09-19
  • 2021-11-18
  • 2021-07-25
  • 2021-08-09
  • 2021-05-25
  • 2021-12-03
  • 2021-12-05
猜你喜欢
  • 2021-11-18
  • 2021-11-18
  • 2021-11-08
  • 2021-11-01
  • 2021-11-18
  • 2021-06-27
  • 2021-05-24
相关资源
相似解决方案