Skip to content

smithy error while running the code #409

@nayanen

Description

@nayanen

Seems the AWS sample uses a beta SDK that requires additional packages not included in standard boto3.

Repo : https://github.com/aws-samples/genai-quickstart-pocs/tree/main/genai-quickstart-pocs-python/amazon-bedrock-nova-sonic-poc

(.env) (base) b0be836a0cfb:amazon-bedrock-nova-sonic-poc$ python nova_sonic_reservation_agent_demo.py
Traceback (most recent call last):
  File "/Users/nayanen/Downloads/computer-use-agent/project/genai-quickstart-pocs/genai-quickstart-pocs-python/amazon-bedrock-nova-sonic-poc/nova_sonic_reservation_agent_demo.py", line 34, in <module>
    from smithy_aws_core.credentials_resolvers.environment import EnvironmentCredentialsResolver
ModuleNotFoundError: No module named 'smithy_aws_core.credentials_resolvers'

Can we get some resolution on this I tried to install the dependencies but seems its not working.

pip install boto3 pyaudio SpeechRecognition smithy-aws-core aws-sdk-bedrock-runtime 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions