gfreitash commented on issue #56783:
URL: https://github.com/apache/airflow/issues/56783#issuecomment-3486147737
To others affected by this, until the fix is merged, the easiest way to
circumvent the issue is overriding the PYTHONPATH using the env_vars parameter
of the operator:
```python
my_task = ExternalPythonOperator(
task_id="my_task",
python="path/to/bin",
python_callable=task_callable,
env_vars={'PYTHONPATH': os.pathsep.join(sys.path)},
)
```
--
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]