aws / aws/sagemaker-python-sdk
AttributeError: module 'sagemaker' has no attribute 'Session'
已关闭
component: pysdk-team
type: bug
- 主要语言
- Python
- 星标
- 2.3k
- 派生
- 1.3k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 35
描述
你好 我尝试sagemaker jupyter notebook。
%pip install --quiet --upgrade transformers datasets sagemaker s3fs
import sagemaker
sess = sagemaker.Session()
发现就不可以,报错
AttributeError: module 'sagemaker' has no attribute 'Session'
贡献指南
调研方向
使用列出的 pip install 命令在 Jupyter notebook 中复现该报告,然后检查导入的 sagemaker 包和 Session 查找过程。检查 issue 的两条评论,了解环境或版本详细信息。完成标准是确定缺失属性的原因,并确认报告中的 notebook 代码按预期运行,或记录所需的兼容性更改。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, python
- 领域
- cloud, machine-learning
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100