|
Hi, I was using a celery executor. When running the scheduler I now get: I installed using pip3 install apache-airflow[celery]. What am I doing wrong? |
Replies: 4 comments
|
I think you installed airflow 1.10 differently before. In Airflow 1.10 we had indeed "airfow" script but we are using console script now, so there should bot be /usr/local/bin/airflow script - console script works differently Possibly removal of the script from /usr/local/bin will work, but you might have much bigger problems if your environment is manually modified. I'd recommend reinstalling it from scratch or some heavy cleanup (but you need to know what you are doing) |
|
Okay, so I 'd better restart install everything :-s. However it is still a bit unclear how I should actually do this? Should use that example and change the version? or should I install it using pip? Thanks for the help! |
|
Yes. And Yes. Here you can see updated version of that page (with 2.0 in) which will be released as part of 2.0.1 |
|
Hi, Pieter |
I think you installed airflow 1.10 differently before. In Airflow 1.10 we had indeed "airfow" script but we are using console script now, so there should bot be /usr/local/bin/airflow script - console script works differently
https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html. This script should be uninstalled if you install airfllow 1.10 (which happens automatically when you install 2.0) - apparently you had locally modified installation or airflow installed to /usr/local/bin and it remained there.Possibly removal of the script from /usr/local/bin will work, but you might have much bigger problems if your environment is manually modified. I'd recommend reinstall…