Getting this error even though I downloaded all depndencies:
Traceback (most recent call last):
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/__init__.py", line 32, in getattr
from .experimental import realtime
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/experimental/realtime/__init__.py", line 1, in <module>
from .realtime_model import RealtimeModel, RealtimeSession
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/experimental/realtime/realtime_model.py", line 19, in <module>
from aws_sdk_bedrock_runtime.client import (
ModuleNotFoundError: No module named 'aws_sdk_bedrock_runtime'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/agent.py", line 1533, in entrypoint
llm=aws.realtime.RealtimeModel(
^^^^^^^^^^^^
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/__init__.py", line 34, in getattr
raise ImportError(
ImportError: The 'realtime' module requires optional dependencies. Please install them with: pip install 'livekit-plugins-aws[realtime]'
164649 livekit.agents ERROR unhandled exception while running the job task
Traceback (most recent call last):
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/__init__.py", line 32, in getattr
from .experimental import realtime
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/experimental/realtime/__init__.py", line 1, in <module>
from .realtime_model import RealtimeModel, RealtimeSession
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/experimental/realtime/realtime_model.py", line 19, in <module>
from aws_sdk_bedrock_runtime.client import (
ModuleNotFoundError: No module named 'aws_sdk_bedrock_runtime'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/agent.py", line 1533, in entrypoint
llm=aws.realtime.RealtimeModel(
^^^^^^^^^^^^
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/__init__.py", line 34, in getattr
raise ImportError(
ImportError: The 'realtime' module requires optional dependencies. Please install them with: pip install 'livekit-plugins-aws[realtime]'
2025-07-10 164649,364 - ERROR livekit.agents - unhandled exception while running the job task
Traceback (most recent call last):
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/__init__.py", line 32, in getattr
from .experimental import realtime
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/experimental/realtime/__init__.py", line 1, in <module>
from .realtime_model import RealtimeModel, RealtimeSession
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/experimental/realtime/realtime_model.py", line 19, in <module>
from aws_sdk_bedrock_runtime.client import (
ModuleNotFoundError: No module named 'aws_sdk_bedrock_runtime'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/agent.py", line 1533, in entrypoint
llm=aws.realtime.RealtimeModel(
^^^^^^^^^^^^
File "/Users/muthanaalhadrab/dev/BytesAI/voice-agent/venv/lib/python3.11/site-packages/livekit/plugins/aws/__init__.py", line 34, in getattr
raise ImportError(
ImportError: The 'realtime' module requires optional dependencies. Please install them with: pip install 'livekit-plugins-aws[realtime]' {"session_id": "-", "pid": 4680, "job_id": "AJ_YNBDjmdnNfyV"}