I got this error trying to install airflow: Insta...
# troubleshooting
d
I got this error trying to install airflow: Installing orchestrator 'airflow'... Installing file bundle 'files-airflow'... Orchestrator 'airflow' could not be installed: failed to install plugin 'airflow'. ERROR: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/apache/airflow/constraints-2.1.2/constraints-3.10.txt Installed file bundle 'files-airflow' 2023-05-05T161221.248502Z [info ] Adding 'files-airflow' files to project... 2023-05-05T161221.251158Z [info ] Created orchestrate/dags/meltano.py Installed 1/2 plugins Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to join our friendly Slack community. Failed to install plugin(s)
p
I’m not sure exactly how meltano is trying to install this, but the issue is that airflow 2.1.2 doesn’t have a constraints file for python 3.10 so you can probably make it work by either using python 3.9 or earlier or getting it to install a more recent version of airflow
you can see the available constraints files by looking at that tag in github like https://github.com/apache/airflow/tree/constraints-2.1.2
p
@dashiq_team check out this thread https://meltano.slack.com/archives/C01TCRBBJD7/p1682530508069249?thread_ts=1682529910.140089&cid=C01TCRBBJD7. The recommended way to install airflow is now using the EDK based utility type instead of the orchestrator type. That might be part of this issue
d
I see, I'll try that @pat_nadolny
thanks
I guess you define the schedules the same way that you would do without the utility version?
u
Everything should be exactly the same! We moved to using standalone utility plugins so that the logic for that plugin can live in its own package vs being tangled up in the development cycle of meltano core itself.
d
I see, sounds good!