[英]Cloud Dataflow Python: Failed to install packages: failed to install workflow
[英]Python apache beam dataflow worker-startup error: Failed to install packages: failed to install SDK: exit status 2
在看之前:
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
用pip -V
檢查你的pip
版本,然后嘗試更新它。
如果這沒有幫助,請評論這個問題:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.