Warm tip: This article is reproduced from serverfault.com, please click

I am getting "bash: airflow: command not found"

发布于 2018-07-01 11:25:48

I am getting

-bash: airflow: command not found

after installing Apache Airflow. I am using Google Cloud Compute Engine and OS is Debian 9 (Stretch).

I have followed the below steps:

export AIRFLOW_HOME=~/airflow

pip install apache-airflow
Questioner
Md Sirajus Salayhin
Viewed
0
27.9k 2020-08-01 06:16:58

I have uninstalled Apache Airflow and installed it with the sudo command (i.e., sudo pip install apache-airflow). After that it worked fine.