任何人在运行airflow initdb命令时遇到以下错误。我正在运行python 3.6:
Traceback (most recent call last): File "/opt/conda/bin/airflow", line 25, in <module> from airflow.configuration import conf File "/opt/conda/lib/python3.6/site-packages/airflow/__init__.py", line 42, in <module> from airflow.models import DAG File "/opt/conda/lib/python3.6/site-packages/airflow/models/__init__.py", line 21, in <module> from airflow.models.baseoperator import BaseOperator, BaseOperatorLink # noqa: F401 File "/opt/conda/lib/python3.6/site-packages/airflow/models/baseoperator.py", line 43, in <module> from airflow.models.dag import DAG File "/opt/conda/lib/python3.6/site-packages/airflow/models/dag.py", line 55, in <module> from airflow.models.taskinstance import TaskInstance, clear_task_instances File "/opt/conda/lib/python3.6/site-packages/airflow/models/taskinstance.py", line 53, in <module> from airflow.ti_deps.dep_context import DepContext, QUEUE_DEPS, RUN_DEPS ImportError: cannot import name 'QUEUE_DEPS'