Airflow installation successfull, but unable to run it

故事扮演 提交于 2019-12-10 02:01:22

问题


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.

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


回答1:


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.




回答2:


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/.



来源:https://stackoverflow.com/questions/42478200/airflow-installation-successfull-but-unable-to-run-it

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!