Hi, trying crewai for the first time on a very simple demo project. When I run the crew I get the following error:
ERROR:root:LiteLLM call failed: litellm.APIConnectionError: Missing boto3 to call bedrock. Run ‘pip install boto3’.
Traceback (most recent call last):
File “/Users/tim.hines/Development/Training/deeplearning_crewai/test_project/.venv/lib/python3.11/site-packages/litellm/llms/bedrock/chat/converse_handler.py”, line 275, in completion
from botocore.credentials import Credentials
ModuleNotFoundError: No module named ‘botocore’
I have tried doing all the suggest pip installs, pip3 installs, python installs and more. Nothing will fix this error, so help much appreciated.
I am running using Visual Studio Code terminal.
So I then switched to Anthropic with a brand new API key that I know works. I set the ANTHROPIC_API_KEY value in my .env but I then get this error:
ERROR:root:LiteLLM call failed: litellm.AuthenticationError: AnthropicException - {“type”:“error”,“error”:{“type”:“authentication_error”,“message”:“invalid x-api-key”}}
Error during LLM call: litellm.AuthenticationError: AnthropicException - {“type”:“error”,“error”:{“type”:“authentication_error”,“message”:“invalid x-api-key”}}
So frustrated that I cant get a simple demo project running with 2 major LLM providers. Help much appreciated.