Replies: 1 comment 3 replies
-
Wait... |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a weird error I'm coming across. In my Python 3.7 environment I have installed Airflow 2,
speedtest-cli
and few other things using pip and I keep seeing this error popup in the Airflow UI:For sanity checks I did run the following and saw no problems:
So nothing out of the ordinary and testing each of the tasks does not cause problems either. Further running the
speedtest-cli
script independently outside of airflow does not raise any errors either. The script goes something like this:I even went to the exact line of
speedtest.py
as mentioned Broken DAG error, line 156, it seems fine and runs fine when I put in in the python interpreter.So, how do I diagnose this? Seems like a package import problem of some sort
Edit: If it helps here is my directory and import structure for
my_dag.py
The import sequence of tasks in the dag file are as follows:
update: Added full error message, in case that's more helpful
Beta Was this translation helpful? Give feedback.
All reactions