在 Windows 环境下,运行 Airflow 的常规说明不适用:
# airflow needs a home, ~/airflow is the default,
# but you can lay foundation somewhere else if you prefer
# (optional)
export AIRFLOW_HOME=~/airflow
# install from pypi using pip
pip install airflow
# initialize the database
airflow initdb
# start the web server, default port is 8080
airflow webserver -p 8080
Airflow 工具在命令行中不可用,我找不到其他地方可以手动添加它。 Airflow 如何在 Windows 上运行?
pwd
包,因为它基于真正的Linux内核。 - Robertsudo apt-get install python3-pip
安装pip
,否则默认情况下它将安装在python 2.7中。 - mockash