amazon-sagemaker-examples failing in Studio - aibotocore and botocore version mismatch??

0

Looking for some help with executing these interesting-looking samples. I've setup a SageMaker Studio Jupyter space in us-east-1 and followed the instructions to clone the amazon-sagemaker-examples repo. After cloning, I ran the xgboost_customer_churn_studio.ipynb notebook, which seems to be the most basic notebook - it is found here:

https://github.com/aws/amazon-sagemaker-examples/tree/main/aws_sagemaker_studio/getting_started

The error from the first cell is: aiobotocore 2.7.0 requires botocore<1.31.65,>=1.31.16, but you have botocore 1.34.58 which is incompatible.

Indeed, when I opened a terminal I located this exact botocore version under ~/.../site-packages. This error causes downstream cells to fail also.

This appears to be the most basic execution i can do with these samples and it still fails. I've tried a few workarounds - e.g. creating a new venv - but I haven't had success. I want to run alot of these so I'm hoping to get redirected by an expert - or just lmk if these samples not ready for the newer Studio environment yet?

DaveC
demandé il y a 2 mois115 vues
1 réponse
0
Réponse acceptée

I got no response on this after a couple of weeks. I recommend just running these in Notebook Instances

DaveC
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions