Repository navigation
Closed
Description
stratus broke again! :)
This time with a ModuleNotFoundError on boto3:
ModuleNotFoundError: No module named 'boto3'
. Retrying in 1 seconds... (Attempt 1/5)
2026-02-17 02:46:38,521 - llm_backend.get_llm_backend - WARNING - OpenAI API error occurred: litellm.APIConnectionError: No module named 'boto3'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/litellm/main.py", line 3696, in completion
response = bedrock_converse_chat_completion.completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/chat/converse_handler.py", line 312, in completion
credentials: Credentials = self.get_credentials(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/base_aws_llm.py", line 264, in get_credentials
credentials, _cache_ttl = self._auth_with_env_vars()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/base_aws_llm.py", line 1068, in _auth_with_env_vars
import boto3
ModuleNotFoundError: No module named 'boto3'
. Retrying in 2 seconds... (Attempt 2/5)
2026-02-17 02:46:40,580 - llm_backend.get_llm_backend - WARNING - OpenAI API error occurred: litellm.APIConnectionError: No module named 'boto3'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/litellm/main.py", line 3696, in completion
response = bedrock_converse_chat_completion.completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/chat/converse_handler.py", line 312, in completion
credentials: Credentials = self.get_credentials(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/base_aws_llm.py", line 264, in get_credentials
credentials, _cache_ttl = self._auth_with_env_vars()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/base_aws_llm.py", line 1068, in _auth_with_env_vars
import boto3
ModuleNotFoundError: No module named 'boto3'
. Retrying in 4 seconds... (Attempt 3/5)
2026-02-17 02:46:44,639 - llm_backend.get_llm_backend - WARNING - OpenAI API error occurred: litellm.APIConnectionError: No module named 'boto3'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/litellm/main.py", line 3696, in completion
response = bedrock_converse_chat_completion.completion(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/chat/converse_handler.py", line 312, in completion
credentials: Credentials = self.get_credentials(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/base_aws_llm.py", line 264, in get_credentials
credentials, _cache_ttl = self._auth_with_env_vars()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/litellm/llms/bedrock/base_aws_llm.py", line 1068, in _auth_with_env_vars
import boto3
ModuleNotFoundError: No module named 'boto3'
. Retrying in 8 seconds... (Attempt 4/5)
This happens even after I did uv add boto3
yimingsu@node4:~/sregym$ uv add boto3
Resolved 252 packages in 2ms
Audited 249 packages in 5ms
Metadata
Metadata
Assignees
Labels
No labels
Activity
HacksonClark commentedon Feb 17, 2026
@yimingsu01 I already have a fix. Need to add boto3 to requirements-container.txt
HacksonClark commentedon Feb 17, 2026
There's a fix in this branch: claude/issue-244-20260213-2244
HacksonClark commentedon Feb 17, 2026
Stratus in bedrock has another issue as well:
yimingsu01 commentedon Feb 17, 2026
@HacksonClark is the branch you referenced ready for testing?
HacksonClark commentedon Feb 17, 2026
@yimingsu01 give it a try
HacksonClark commentedon Feb 17, 2026
@yimingsu01 Seems like we may need to mount the aws credentials directory when using those credits. Fix for that soon
yimingsu01 commentedon Feb 17, 2026
Was just going to report back that it hasn't been fixed yet
yimingsu01 commentedon Feb 17, 2026
It still complains about not finding
boto3HacksonClark commentedon Feb 17, 2026
@yimingsu01 Just pushed.
btw you have to rebuild the container for the changes to take effect with
--force-buildyimingsu01 commentedon Feb 17, 2026
Can we force a rebuild by default?
HacksonClark commentedon Feb 17, 2026
@yimingsu01 why would we do that?
yimingsu01 commentedon Feb 17, 2026
I'm guessing that's not necessary. Closing this issue as the
boto3error is resolved, but there's a new error on the benchmark. Opening a new one to track.