gpt4 book ai didi

Python apache beam dataflow worker-启动错误: Failed to install packages: failed to install SDK: exit status 2

转载 作者:太空宇宙 更新时间:2023-11-03 12:01:20 25 4
gpt4 key购买 nike

在看到之前:

RuntimeError: IOError: [Errno 2] No such file or directory:
'/beam-temp-andrew_mini_vocab-..../......andrew_mini_vocab' [while running .....]

在我的 apache beam python 数据流作业中,我看到记录了这个错误:

A setup error was detected in __. Please refer to the worker-startup
log for detailed information. `

我找到了 worker 启动日志,Payload 错误是:

Failed to install packages: failed to install SDK: exit status 2

错误不够具体,我无法调试。对没有加载什么 SDK 有任何了解吗?我对这份工作的进口非常基础:

from __future__ import absolute_import
from __future__ import division
import argparse
import logging
import re
import apache_beam as beam
from apache_beam.io import WriteToText
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.options.pipeline_options import SetupOptions
from apache_beam.pvalue import AsDict

最佳答案

使用 pip -V 检查您的 pip 版本,并尝试更新它。

如果这没有帮助,请对问题发表评论:)

关于Python apache beam dataflow worker-启动错误: Failed to install packages: failed to install SDK: exit status 2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47778854/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com