简体   繁体   English

在Windows上安装Airflow

[英]Installing Airflow on Windows

I want to install an airflow worker on a windows machine. 我想在Windows机器上安装一个气流工作者

I've pip installed it and then copied the airflow folder from a linux install however this has sent me down a rabbit hole of errors! 我已经安装了它,然后从linux安装中复制了airflow文件夹,但这已经让我失去了一个错误的兔子洞! Cygwin was briefly mentioned in the airflow google groups (see here ) however I am not sure about the robustness of installing everything and keeping it running an emulator? 在气流谷歌小组中简要提到了Cygwin(见这里 )但是我不确定安装所有东西并保持它运行模拟器的稳健性?

How to setup an airflow worker in widows: can it be natively installed or should a *nix emulator be used instead? 如何在寡妇中设置气流工作者:可以原生安装,还是应该使用* nix仿真器?

1st) install pip 1)安装点子

https://pip.pypa.io/en/stable/installing/

with python get-pip.py or python3 get-pip.py 使用python get-pip.pypython3 get-pip.py

2nd) install airflow 2)安装气流

https://pythonhosted.org/airflow/installation.html 

with pip install airflow pip install airflow

As of 2018, Airflow should be running on Unix or Linux. 截至2018年,Airflow应该在Unix或Linux上运行。 if you want to install it on windows machine, probably use a VM as what I did. 如果你想在Windows机器上安装它,可能就像我一样使用虚拟机。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM