提示:linux系统默认python2.7 有些软件安装需要python3.x支持,此文介绍如何升级python到3.x
airflow api地址:https://airflow.apache.org/docs/apache-airflow/1.10.1/scheduler.html
一、安装python环境
1、安装依赖
yum install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev curl libbz2-dev
2、下载安装包
#wget https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz
wget https://zhengyansheng.oss-cn-beijing.aliyuncs.com/Python-3.7.10.tar.xz
tar xf Python-3.7.10.tar.xz
cd Python-3.7.10
3、编译&安装python源码包
这里一定要带