aws-samples / amazon-sagemaker-immersion-day

MIT No Attribution
278 stars 227 forks source link

BYOC notebook is broken #42

Open vikeshpandey opened 2 years ago

vikeshpandey commented 2 years ago

the BYOC notebook is full of errors: The first cell:
!pip install --upgrade aiobotocore
breaks with error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. boto3 1.17.23 requires botocore<1.21.0,>=1.20.23, but you have botocore 1.23.24 which is incompatible. awscli 1.19.23 requires botocore==1.20.23, but you have botocore 1.23.24 which is incompatible.

The next cell uses unzip command wheras zip is not installed by default on this image. Even if you try to install zip by pip install zip, it still fails with as wsgiref error.

another thing is, why the workshop recommends a tensorflow kernel for this as per the workshop: https://catalog.us-east-1.prod.workshops.aws/v2/workshops/63069e26-921c-4ce1-9cc7-dd882ff62575/en-US/lab3/option2

The instructions in the workshop and the lab notebook do not match.

chrislitianxin commented 2 years ago

Hi @vikeshpandey, thanks for the feedback. We are working on an update to the BYOC notebook. Please use Python 3 (Data Science) kernel, it should solve the dependency error and zip issue.