簡體   English   中英

Python apache beam dataflow worker-startup錯誤:無法安裝包:無法安裝SDK:退出狀態2

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM