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
질문됨 2달 전115회 조회
1개 답변
0
수락된 답변

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

DaveC
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠