mik-laj edited a comment on issue #14520: URL: https://github.com/apache/airflow/issues/14520#issuecomment-787437187
@gelinger777 Yes. You should use a non-root user. As a temporary workaround, you can also add a directory with user modules to [`PYTHONPATH`](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH). ```yaml ... environment: &airflow-common-env PYTHONPATH: "/home/airflow/.local/lib/python3.6/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. For queries about this service, please contact Infrastructure at: [email protected]
