Airflow installation successfull, but unable to ru

2019-04-24 10:44发布

C:\Python27\Scripts>airflow initdb 'airflow' is not recognized as an internal or external command, operable program or batch file.

C:\Python27\Scripts>airflow init 'airflow' is not recognized as an internal or external command, operable program or batch file.

enter image description here

C:\Python27\Scripts>airflow webserver -p 8080

'airflow' is not recognized as an internal or external command, operable program or batch file.

I am trying to install in Windows 7 machine and I am using Python 2.7

2条回答
一夜七次
2楼-- · 2019-04-24 11:15

Airflow doesn't officially support running on Windows. From my limited testing with it I was unable to get it running, in the end I just set everything up on a Linux VM. https://groups.google.com/forum/m/#!topic/airbnb_airflow/JrE-aJDLm5w, discusses the modifications the author tried to get Airflow running on Windows but there were still errors. https://stackoverflow.com/a/32378495/2109767 shows a method that used to work, but from the comments and my test of this method it seems to no longer work. Good lucky trying, if you succeed in getting Airflow running on Windows post back as an answer.

查看更多
等我变得足够好
3楼-- · 2019-04-24 11:28

Alternatively you could also try to install it directly on Google Cloud Platform as a windows user: https://lemag.sfeir.com/installing-and-using-apache-airflow-on-the-google-cloud-platform/.

查看更多
登录 后发表回答