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
posta 2 mesi fa115 visualizzazioni
1 Risposta
0
Risposta accettata

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

DaveC
con risposta 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande