Airflow Worker container is crashing with error "ModuleNotFoundError: No module named 'postgresql'" #38425
Unanswered
dineshkumar20
asked this question in
Q&A
Replies: 1 comment 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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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