airflow initdb
fails ERROR [airflow.models.dagbag.DagBag] Failed to import: python3.6/.../airflow/example_dags/example_passing_params_via_test_command.py
#18427
Replies: 3 comments
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
Just for the record, upgrading to Python 3.7 seems to fix it on my machine. Not sure whether Python 3.6 is supported - the installation page (https://airflow.apache.org/docs/stable/installation.html) at least doesn't mention anything about which Python versions are supported. |
Beta Was this translation helpful? Give feedback.
-
That might be some issue with |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version: 1.10.12
Environment:
What happened:
When I run
airflow initdb
after a fresh install, it fails with the following errors:This last error repeats with with other files in
/example_dags
, see full output log belowairflow initdb - Full output log
pip freeze
Beta Was this translation helpful? Give feedback.
All reactions