You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Code\OpenAI\openai-realtime-python\realtime_agent\main.py", line 13, in
from .agent import InferenceConfig, RealtimeKitAgent
File "C:\Code\OpenAI\openai-realtime-python\realtime_agent\agent.py", line 8, in
from agora.rtc.rtc_connection import RTCConnection, RTCConnInfo
ModuleNotFoundError: No module named 'agora.rtc.rtc_connection'
The text was updated successfully, but these errors were encountered:
模块载入有问题:
main.py
from agora_realtime_ai_api.rtc import RtcEngine, RtcOptions
找不到 agora_realtime_ai_api
agent.py
from agora.rtc.rtc_connection import RTCConnection, RTCConnInfo
from attr import dataclass
from agora_realtime_ai_api.rtc import Channel, ChatMessage, RtcEngine, RtcOptions
找不到 agora , agora_realtime_ai_api
运行:python -m realtime_agent.main server
报错:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Code\OpenAI\openai-realtime-python\realtime_agent\main.py", line 13, in
from .agent import InferenceConfig, RealtimeKitAgent
File "C:\Code\OpenAI\openai-realtime-python\realtime_agent\agent.py", line 8, in
from agora.rtc.rtc_connection import RTCConnection, RTCConnInfo
ModuleNotFoundError: No module named 'agora.rtc.rtc_connection'
The text was updated successfully, but these errors were encountered: