sagemaker-notebook-container icon indicating copy to clipboard operation
sagemaker-notebook-container copied to clipboard

import boto3 or import sagemaker not working

Open billchen8888 opened this issue 2 years ago • 1 comments

I started the the sagemaker-notebook:python3-pytorch-p36

in the notebook and use the kernel conda_pytorch_p36, when I try to do import sagemaker, I get error:

ModuleNotFoundError: No module named 'sagemaker'

I tried to install sagemaker-python-sdk, but run into error:

Solving environment: failed

InvalidVersionSpecError: Invalid version spec: =2.7

Can someone give some suggestion how O can make it work? Thanks in advance

billchen8888 avatar Mar 22 '22 04:03 billchen8888

Sorry, unfortunately I'm not able to find time to look into these issues. Maybe you can check these out as alternatives: https://github.com/aws/sagemaker-training-toolkit https://github.com/aws/deep-learning-containers

qtangs avatar Apr 17 '22 13:04 qtangs