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)
yimingsu@node4:~/sregym$ uv add boto3
Resolved 252 packages in 2ms
Audited 249 packages in 5ms
stratusbroke again! :)This time with a
ModuleNotFoundErroronboto3:This happens even after I did
uv add boto3