Airflow Installation Beam Failure [gcp]

Faulty airflow setting with command

sudo pip3 install apache-airflow[gcp_api]

Everything worked fine yesterday. Today I see the following error:

Could not find a version that satisfies the requirement apache-beam[gcp]==2.3.0 (from google-cloud-dataflow->apache-airflow[gcp_api]) (from versions: 0.6.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0)
No matching distribution found for apache-beam[gcp]==2.3.0 (from google-cloud-dataflow->apache-airflow[gcp_api])

Can someone help me with this?

Thanks in advance

+4
source share
1 answer

I had the same problem :(

Why? most likely this happened because in the new version (2.3.0) of apache-beam they actually added a restriction for python3 https://pypi.python.org/pypi/apache-beam/2.3.0 Requires Python: >=2.7,<3.0 previous packages did not have this restriction , so it worked before (unless you used the data stream from gcp).

?

Google-

pip3 uninstall google-cloud-dataflow

2.2.0, apache beam

pip install google-cloud-dataflow==2.2.0

​​ , , .

+7

Source: https://habr.com/ru/post/1694285/


All Articles