atsalolikhin-spokeo opened a new issue #12464:
URL: https://github.com/apache/airflow/issues/12464


   Hello,
   
   I tried installing the [tutorial 
DAG](https://airflow.apache.org/docs/stable/_modules/airflow/example_dags/tutorial.html)
  and I got an import error:
   
   ```
   No module named 'airflow.operators.bash'
   ```
   
   The tutorial DAG had:
   
   ```
   from airflow.operators.bash import BashOperator
   ```
   
   I changed that to:
   
   ```
   from airflow.operators.bash_operator import BashOperator
   ```
   and was able to import the DAG.
   
   This is on Airflow 1.10.11.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to