AWS Glue Sagemaker 笔记本“没有名为 awsglue.transforms 的模块”

t_w*_*sop 5 amazon-web-services aws-glue amazon-sagemaker

我已经创建了一个 Sagemaker 笔记本来开发 AWS Glue 作业,但在运行提供的示例(“使用 AWS Glue 加入、过滤和加载关系数据”)时,出现以下错误:

在此输入图像描述

Does anyone know what I've setup wrong/haven't setup to cause the import to not work?

小智 2

您需要从此处下载Glue 0.9 的库文件,或从此处下载 Glue 1.0 的库文件(检查您的 Glue 作业的版本)。

将 zip 放入 S3 中,并在开发端点上的“Python 库路径”中引用它。