Airflow Worker container is crashing with error "ModuleNotFoundError: No module named 'postgresql'" #38425
Replies: 2 comments 1 reply
-
You seem to not have postgresql dependency installed in your image. You seem to have result backend configured that require postgresql package to be installed, so you need to make sure whatever you have as your result backend set has the appropriate driver By default if you do not set it, the same configuration is used as for airflow connection: Which uses psycopg2 driver:
Likely you have some backend result configuration that requires |
Beta Was this translation helpful? Give feedback.
-
Another possible solution: |
Beta Was this translation helpful? Give feedback.
-
Hi all
I'm running airflow(2.8.3 version) on Kubernetes with CeleryExecutor. All Airflow components are working fine except worker. It throws error like this. Can someone please help me to resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions