Skip to content

Installing apache-airflow-backport-providers-odbc failing #13238

Answered by potiuk
VORUSRIK000 asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@VORUSRIK000
Comment options

@potiuk
Comment options

@VORUSRIK000
Comment options

Answer selected by potiuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants