Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Airflow installation successfull, but unable to run it

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

like image 392
GunasekaranR Avatar asked Feb 27 '17 05:02

GunasekaranR


1 Answers

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.

like image 161
Jeremy Farrell Avatar answered Oct 29 '22 15:10

Jeremy Farrell