apache beam 2.19.0不再在云数据流上运行,原因是找不到满足setuptools> = 40.8要求的版本

编程入门 行业动态 更新时间:2024-10-28 12:20:36
本文介绍了apache beam 2.19.0不再在云数据流上运行,原因是找不到满足setuptools> = 40.8要求的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

几天以来,我们的python数据流作业导致工作程序启动时出错:

Since a few days our python dataflow jobs result in an error on worker startup:

"ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)" ERROR: Command errored out with exit status 1: /usr/local/bin/python3 /usr/local/lib/python3.5/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-qz0ogm1p/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links /var/opt/google/dataflow -- 'setuptools>=40.8.0' wheel Check the logs for full command output.

requests.txt似乎不是问题,

This seems to not be an issue with the requirements.txt, which are:

ua-parser numpy pandas Deprecated

有人遇到过这个问题,也许有解决办法吗?我确实尝试设置了特定的setuptools版本(46.1.3),这导致了另一个错误:

Did anyone come across this and maybe a solution? I did try to set a specific setuptools version (46.1.3) which resulted in another error:

ERROR: Could not find a version that satisfies the requirement wheel (from versions: none) "ERROR: Command errored out with exit status 1: /usr/local/bin/python3 /usr/local/lib/python3.5/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-2awl4fw3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links /var/opt/google/dataflow -- 'setuptools>=40.8.0' wheel Check the logs for full command output."

谢谢

推荐答案

我遇到了与您相同的问题.要解决此问题,我在requirements.txt文件中添加了setuptools,并确保在apache-beam之前订购了该工具.

I had the same issue than yours. To fix it, I added setuptools in the requirements.txt and make sure it is ordered before apache-beam.

更多推荐

apache beam 2.19.0不再在云数据流上运行,原因是找不到满足setuptools> = 40.8要求的版本

本文发布于:2023-07-05 02:50:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1032099.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   数据流   原因   版本   beam

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!