-
We have Airflow 1.10.13 version installed with app running healthy (installed using bitnami helm charts). Trying to install apache-airflow-backport-providers-odbc on this version as suggested in documentation, to get support for Azure SQL connectivity from a DAG. Installation is failing with the below error. Any pointers would help. ERROR: Command errored out with exit status 1: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You need to have bulf-tools (for example gcc) installed if you want to install pyodbc. Pyodbc requires Another option is installing pyodbc from pre-compiled binary packages, but how to install it is very much image dependent. See description and further docs here: https://pypi.org/project/pyodbc/ |
Beta Was this translation helpful? Give feedback.
You need to have bulf-tools (for example gcc) installed if you want to install pyodbc. Pyodbc requires
build-essentials
to be available (usually via apt-get or similar) in your image. You probably will need to customize your image somehow (not sure what image you are using) because - similarly to official production image of Airflow it is optimised for size and it has no build essentials. If you switch to official Airflow image there are some ways you can customize your image (https://airflow.apache.org/docs/apache-airflow/stable/production-deployment.html#customizing-the-image)Another option is installing pyodbc from pre-compiled binary packages, but how to install it is very much image…