气流安装成功,但无法运行 [英] Airflow installation successfull, but unable to run it

查看:140
本文介绍了气流安装成功,但无法运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C:\ Python27 \ Scripts>气流initdb 无法将气流"识别为内部或外部命令, 可操作的程序或批处理文件.

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

C:\ Python27 \ Scripts>气流初始化 无法将气流"识别为内部或外部命令, 可操作的程序或批处理文件.

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

C:\ Python27 \ Scripts>气流网络服务器-p 8080

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

'气流'不被识别为内部或外部命令, 可操作的程序或批处理文件.

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

我正在尝试在Windows 7计算机上安装,并且我正在使用Python 2.7

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

推荐答案

Airflow不正式支持在Windows上运行.通过有限的测试,我无法使其运行,最后,我仅在Linux VM上进行了所有设置. https://groups.google.com/forum/m/#!topic/airbnb_airflow/JrE-aJDLm5w ,讨论了作者试图使Airflow在Windows上运行的修改,但仍然存在错误. https://stackoverflow.com/a/32378495/2109767 显示了一种曾经有效的方法,但从注释和我对此方法的测试似乎不再起作用.如果您成功使Airflow在Windows上运行,请尝试一次幸运的回发.

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.

这篇关于气流安装成功,但无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆