Install pip dependency from a repo #26211
-
Hello everyone, Disclaimer: I am pretty new to airflow (so I might be missingGitHubhing) Goal: Install a Github repository as a pip package for use in DAGs. What I tried: Airflow seems to offer a few different ways to install pip packages
Result: the container crashes with no error shown
Result:
But if I try airflow as the USER instead of root I get this beauty:
I hope it's possible to achieve this since using GitHub to host packages can be pretty convenient. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you want to use "git" - you need to install it first. Airlfow PROD image simply does not have git installed. you need to install it first following the other examples (about installing system packages) The error you get is very clear about it (and this is an error of
|
Beta Was this translation helpful? Give feedback.
If you want to use "git" - you need to install it first. Airlfow PROD image simply does not have git installed. you need to install it first following the other examples (about installing system packages)
The error you get is very clear about it (and this is an error of
pip
not airflow, so if it is not clear enough, you should raise it in `pip' not in airflow repo.