You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running airflow locally, and I followed the tutorial as far "drop DAGS into Airflow." I'm now getting errors that look like this:
ERROR - Failed to import: /home/trent/airflow/dags/product_staging.py
Traceback (most recent call last):
File "/home/trent/.local/lib/python2.7/site-packages/airflow/models/dagbag.py", line 236, in process_file
m = imp.load_source(mod_name, filepath)
File "/home/trent/airflow/dags/product_staging.py", line 18, in
from acme.operators.dwh_operators import PostgresToPostgresOperator
ImportError: No module named acme.operators.dwh_operators
This is happening for every dag. I checked, and $AIRFLOW_HOME/dags/acme/operators/dwh_operators.py exists on my machine. What do I need to do to get it to import correctly?
The text was updated successfully, but these errors were encountered:
Hello
I'm running airflow locally, and I followed the tutorial as far "drop DAGS into Airflow." I'm now getting errors that look like this:
ERROR - Failed to import: /home/trent/airflow/dags/product_staging.py
Traceback (most recent call last):
File "/home/trent/.local/lib/python2.7/site-packages/airflow/models/dagbag.py", line 236, in process_file
m = imp.load_source(mod_name, filepath)
File "/home/trent/airflow/dags/product_staging.py", line 18, in
from acme.operators.dwh_operators import PostgresToPostgresOperator
ImportError: No module named acme.operators.dwh_operators
This is happening for every dag. I checked, and $AIRFLOW_HOME/dags/acme/operators/dwh_operators.py exists on my machine. What do I need to do to get it to import correctly?
The text was updated successfully, but these errors were encountered: