qtangs / sagemaker-notebook-container

Docker images that replicate the Amazon SageMaker Notebook instance.
MIT License
58 stars 30 forks source link

import boto3 or import sagemaker not working #9

Open billchen8888 opened 2 years ago

billchen8888 commented 2 years ago

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

qtangs commented 2 years ago

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