How to use a custom virtual environment with #34760
Unanswered
gmyrianthous
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Yep it should be path to python executable in venv, for reference ExternalPythonOperator |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a custom virtual environment with two dependencies (and no airflow dependency installed in it), that I would like to use along with
ExternalPythonOperator
however I am unsure what argument to pass to thepython
argument. Can someone shed some light on this?Assuming the virtual environment is placed under
/home/dbt-airflow-venv/
, should thepython
argument point to python (i.e.'/home/dbt-airflow-venv/bin/python3'
) or somewhere else?Beta Was this translation helpful? Give feedback.
All reactions