在看到之前:
RuntimeError: IOError: [Errno 2] No such file or directory:
'/beam-temp-andrew_mini_vocab-..../......andrew_mini_vocab' [while running .....]
在我的apache beam python dataflow作业中我看到记录了这个错误:
A setup error was detected in __. Please refer to the worker-startup
log for detailed information. `
我发现工作人员启动日志和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
答案 0 :(得分:0)
用1
检查pip
的版本,然后尝试更新。
请问这个问题是否有帮助:)