I tried to install airflow on iMac
airflow initdb
I got this error
Traceback (most recent call last):
File "/Users/admin/anaconda/bin/airflow", line 21, in <module>
from airflow import configuration
File "/Users/admin/anaconda/lib/python2.7/site-packages/airflow/__init__.py", line 37, in <module>
from airflow.models import DAG
File "/Users/admin/anaconda/lib/python2.7/site-packages/airflow/models.py", line 32, in <module>
import dill
File "/Users/admin/anaconda/lib/python2.7/site-packages/dill/__init__.py", line 60, in <module>
from . import objtypes as types
File "/Users/admin/anaconda/lib/python2.7/site-packages/dill/objtypes.py", line 16, in <module>
from dill import objects
ImportError: cannot import name objects
I found this thread, While airflow initdb, ImportError: cannot import name HiveOperator, it is not for install airflow on iMac, and the error is not exactly the same. But I gave a try anyway. I changed the config
# load_examples = True # default set up as True
load_examples = False # change to false to avoid airflow initdb error - But the error still there.
But I still get the same error when I run airflow initdb.