[ https://issues.apache.org/jira/browse/AIRFLOW-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15276787#comment-15276787 ]
Bolke de Bruin edited comment on AIRFLOW-80 at 5/9/16 6:35 PM: --------------------------------------------------------------- can you use pip install[hive] as a temporary workaround? was (Author: bolke): can you use pip install[hive]? > `airflow initdb` fails for new environment > ------------------------------------------ > > Key: AIRFLOW-80 > URL: https://issues.apache.org/jira/browse/AIRFLOW-80 > Project: Apache Airflow > Issue Type: Bug > Reporter: Stephen Cattaneo > > I just created a new dev env with "setup.py develop " > (airflow)[scattaneo@scattaneo-mba ~/workspace/airflow]$ airflow initdb > [2016-05-09 11:25:52,576] {__init__.py:36} INFO - Using executor > SequentialExecutor > DB: sqlite:////Users/scattaneo/airflow/airflow.db > [2016-05-09 11:25:53,770] {db.py:222} INFO - Creating tables > INFO [alembic.runtime.migration] Context impl SQLiteImpl. > INFO [alembic.runtime.migration] Will assume non-transactional DDL. > ERROR [airflow.models.DagBag] Failed to import: > /Users/scattaneo/workspace/airflow/incubator-airflow/airflow/example_dags/example_twitter_dag.py > Traceback (most recent call last): > File > "/Users/scattaneo/workspace/airflow/incubator-airflow/airflow/models.py", > line 250, in process_file > m = imp.load_source(mod_name, filepath) > File > "/Users/scattaneo/workspace/airflow/incubator-airflow/airflow/example_dags/example_twitter_dag.py", > line 26, in <module> > from airflow.operators import BashOperator, HiveOperator, PythonOperator > ImportError: cannot import name HiveOperator > Done. -- This message was sent by Atlassian JIRA (v6.3.4#6332)