自从过去两年以来,我们一直在产品环境中使用气流,并且版本为1.7.1.3。
最近,当我尝试执行 pip install airflow == 1.7.3.1 时,它无法安装,详细的日志有助于跟踪工件位置-https://pypi.org/simple/apache-airflow/
我看到从那里删除了1.7.1.3版的气流。
是否还有其他托管工件的存储库?如果没有,我还必须使用pip安装其他替代方法吗?
答案 0 :(得分:1)
请注意,Airflow的pip
名称现在为apache-airflow
,对于版本,1.7.1.3标签为still available from the Github repository。要安装它,您需要克隆存储库,签出特定标签,然后对存储库文件夹执行pip install
:
$ git clone https://github.com/apache/incubator-airflow.git
Cloning into 'incubator-airflow'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 40506 (delta 3), reused 1 (delta 0), pack-reused 40497
Receiving objects: 100% (40506/40506), 27.82 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (29080/29080), done.
$ cd incubator-airflow
$ git checkout tags/1.7.1.3
Note: checking out 'tags/1.7.1.3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 209bf9c7... Adding .readthedocs.yml to build docs for 1.7.1.3
$ pip install .