Python apache beam dataflow worker-startup错误:无法安装包:无法安装SDK:退出状态2

时间:2017-12-12 18:00:34

标签: python python-2.7 google-cloud-platform google-cloud-dataflow apache-beam

在看到之前:

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

1 个答案:

答案 0 :(得分:0)

1检查pip的版本,然后尝试更新。

请问这个问题是否有帮助:)