How to install apache airflow from github

↘锁芯ラ 提交于 2019-12-13 13:18:11

问题


Problem: I want to install apache-airflow using the latest version of Apache-Airflow on Github with all the dependencies?

How can I do that using pip?

Also is it safe to use that in the production environment?


回答1:


Using pip:

$ pip install git+https://github.com/apache/incubator-airflow.git@v1-10-stable

Yes, it is safe.

You will need gcc.




回答2:


I generally use this

$  pip install git+https://github.com/apache/incubator-airflow.git@v1-10-stable#egg=apache-airflow[async,crypto,celery,kubernetes,jdbc,password,postgres,s3,slack]

In this way I'm able able to install extra airflow features.




回答3:


I found this more useful:

pip install git+git://github.com/apache/incubator-airflow.git

It installs the latest version in development.



来源:https://stackoverflow.com/questions/47476987/how-to-install-apache-airflow-from-github

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