I have installed Apache airflow using the command pip install airflow. When I try to access airflow by typing airflow , getting the below error.
`Traceback (most recent call last):
File "/usr/bin/airflow", line 4, in <module>
from airflow import configuration
File "/usr/lib/python2.6/site-packages/airflow/__init__.py", line 29, in <module>
from airflow import configuration as conf
File "/usr/lib/python2.6/site-packages/airflow/configuration.py", line 433
('core', 'sql_alchemy_conn'),
^
SyntaxError: invalid syntax
I found that airflow.cfg file is missing. I have uninstalled and reinstalled airflow and Still getting this error. Could anyone suggest a solution? The OS is RHEL6.7.
There's not really enough information to go on, but I suspect the problem is that you are using Python 2.6; the library is probably only compatible with Python 2.7.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With