-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with README instructions not working #1
Comments
I should note I'm trying to do this from VSCode this time. I previously got this working in SageMaker Studio with an earlier patched version of the boto3 and botocore modules. I'll go try Studio again and see if it helps. |
I just got it working in SageMaker Studio, so it must be something different in the environment. |
Fixed the issue and marked the correct kernel type to use in SageMaker Studio. |
Still encountering the following issues:
|
I'm running the instructions in README.md in a new python3.9 venv. I downloaded the dependencies and successfully ran the 3 pip install statements for boto3, botocore, and awscli. When I try to create the client as instructed with this code:
I get this output and error (note I added the version print).
If I try to use the bedrock client in the utils directory instead by importing utils.bedrock in a python3 interactive session it complains that I need to install pydantic:
so I install it:
and it installed version 2.0.3. Then I tried again to import it and got a new error:
If I change line 80 to look like this, that error goes away:
Then if I try to use the get_bedrock_client in that function, I'm back to the error where it doesn't recognize bedrock:
So it looks like the versions of boto3 being downloaded by download_dependencies.sh are not working. Any advice would be appreciated.
The text was updated successfully, but these errors were encountered: