参考https://airflow.apache.org/start.html创建初始安装脚本
错误:
RuntimeError: By default one of Airflow's dependencies installs a GPL dependency (unidecode). To avoid this dependency set SLUGIFY_USES_TEXT_UNIDECODE=yes in your environment when you install or upgrade Airflow. To force installing the GPL version set AIRFLOW_GPL_UNIDECODE
解决:
脚本第一段添加:export SLUGIFY_USES_TEXT_UNIDECODE=yes
错误:error: could not create '/Library/Python/2.7/site-packages/sqlalchemy': Permission denied
解决:改用sudo执行脚本,sudo ./airflowinstall.sh
错误:Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.