camper42 commented on issue #61062: URL: https://github.com/apache/airflow/issues/61062#issuecomment-3803078289
When changing AIRFLOW_UID and USER, we encountered `ModuleNotFoundError: No module named 'airflow'`. There was nothing wrong with pgbouncer; I can’t remember why I thought that. The actual issue was that after changing AIRFLOW_UID and USER, HOME in the image was set to /opt/airflow instead of /home/airflow. As a result, Python could not find packages located in /home/airflow/.local/lib/python3.12/site-packages. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
