+-
如何在Windows上运行Airflow
运行Airflow的常用说明不适用于 Windows环境:

# 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上运行?

最佳答案
您可以在Windows中激活bash并按原样操作.
我能够在上面成功启动并运行.

安装完成后,编辑airflow.cfg将所有配置指向windows系统中的某个位置,而不是lxss(ubuntu),因为ubuntu周围的bug都没有显示windows系统编写的文件.

点击查看更多相关文章

转载注明原文:如何在Windows上运行Airflow - 乐贴网