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
feita há 2 meses115 visualizações
1 Resposta
0
Resposta aceita

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

DaveC
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas