aws / aws/sagemaker-python-sdk
AttributeError: module 'sagemaker' has no attribute 'Session'
Closed
component: pysdk-team
type: bug
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 35
Description
你好 我尝试sagemaker jupyter notebook。
%pip install --quiet --upgrade transformers datasets sagemaker s3fs
import sagemaker
sess = sagemaker.Session()
发现就不可以,报错
AttributeError: module 'sagemaker' has no attribute 'Session'
Contributor guide
Research direction
Reproduce the report in a Jupyter notebook using the listed pip install command, then inspect the imported sagemaker package and the Session lookup. Check the issue's two comments for environment or version details. Done means identifying the cause of the missing attribute and confirming the reported notebook code behaves as expected or documenting the required compatibility change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100