No module named 'airflow.contrib.kubernetes' - deployment fails

I tried to create a basic astronomer project, as per: Create an Astronomer Project | Astronomer Cloud
Dockerfile has this line: FROM
astro dev start and local instance has the example dag running!

When I try to deploy this very project to our production installation I get these errors and airflow doesn’t startup:

02/01 10:00:58Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/airflow/”, line 450, in import_local_settings import airflow_local_settings File “/usr/local/airflow/config/”, line 2, in from airflow.contrib.kubernetes.pod import Pod ModuleNotFoundError: No module named ‘airflow.contrib.kubernetes’

Has anyone have any idea what might be wrong?

I’m getting the exact same error but with another DAG I’m wroking on… Were you able to solve it by any chance?

Broken DAG: [/usr/local/airflow/dags/cells_polygon_stores/] Traceback (most recent call last):
  File "/usr/local/airflow/dags/cells_polygon_stores/", line 34, in <module>
    from dags.utils.ml_operator_sup import MLOperator
  File "/usr/local/airflow/dags/utils/", line 5, in <module>
    from airflow.contrib.kubernetes.pod import Resources
ModuleNotFoundError: No module named 'airflow.contrib.kubernetes'