Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named acme.operators.dwh_operators #21

Open
rusalkamf opened this issue Aug 10, 2020 · 0 comments
Open

ImportError: No module named acme.operators.dwh_operators #21

rusalkamf opened this issue Aug 10, 2020 · 0 comments

Comments

@rusalkamf
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant