由于找不到满足要求的版本 setuptools>=40.8,apache beam 2.19.0 不再在云数据流上 运行
apache beam 2.19.0 not running on cloud dataflow anymore due to Could not find a version that satisfies the requirement setuptools>=40.8
几天后,我们的 python 数据流作业导致 worker 启动时出错:
"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.
这似乎不是 requirements.txt 的问题,它们是:
ua-parser
numpy
pandas
Deprecated
有没有人遇到过这个问题,也许有解决方案?我确实尝试设置一个特定的 setuptools 版本 (46.1.3),这导致了另一个错误:
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."
谢谢
Deprecated 包从Deprecated-1.2.7 更改为Deprecated-1.2.8,导致错误。
Dataflow 工作人员 运行 使用 setuptools 45.1.0 for python 3.5.9,因此通过更新的 Deprecated 软件包安装另一个版本会导致错误。
我遇到了和你一样的问题。为了修复它,我在 requirements.txt 中添加了 setuptools 并确保它在 apache-beam 之前被订购。
几天后,我们的 python 数据流作业导致 worker 启动时出错:
"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.
这似乎不是 requirements.txt 的问题,它们是:
ua-parser
numpy
pandas
Deprecated
有没有人遇到过这个问题,也许有解决方案?我确实尝试设置一个特定的 setuptools 版本 (46.1.3),这导致了另一个错误:
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."
谢谢
Deprecated 包从Deprecated-1.2.7 更改为Deprecated-1.2.8,导致错误。 Dataflow 工作人员 运行 使用 setuptools 45.1.0 for python 3.5.9,因此通过更新的 Deprecated 软件包安装另一个版本会导致错误。
我遇到了和你一样的问题。为了修复它,我在 requirements.txt 中添加了 setuptools 并确保它在 apache-beam 之前被订购。