Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the demo with instructions #7

Open
AbdullahQureshi1080 opened this issue Nov 2, 2024 · 0 comments
Open

Unable to run the demo with instructions #7

AbdullahQureshi1080 opened this issue Nov 2, 2024 · 0 comments

Comments

@AbdullahQureshi1080
Copy link

openai-realtime-python on  main [!] via  desktop-linux via  v3.12.7 via  agora-openai took 5s
➜ python -m realtime_agent.main agent --channel_name=test-v1 --uid=1122

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\hp\Desktop\Development\agora-conversational-exp\openai-realtime-python\realtime_agent\main.py", line 14, in <module>
    from .agent import InferenceConfig, RealtimeKitAgent
  File "C:\Users\hp\Desktop\Development\agora-conversational-exp\openai-realtime-python\realtime_agent\agent.py", line 8, in <module>
    from agora.rtc.rtc_connection import RTCConnection, RTCConnInfo
  File "C:\Users\hp\.conda\envs\agora-openai\Lib\site-packages\agora\rtc\rtc_connection.py", line 3, in <module>
    from .agora_base import *
  File "C:\Users\hp\.conda\envs\agora-openai\Lib\site-packages\agora\rtc\agora_base.py", line 3, in <module>
    from . import agora_lib
ImportError: cannot import name 'agora_lib' from 'agora.rtc' (C:\Users\hp\.conda\envs\agora-openai\Lib\site-packages\agora\rtc\__init__.py)

Here's the requirements.txt

agora-python-server-sdk==2.0.8
agora-realtime-ai-api==1.0.8
aiohappyeyeballs==2.4.0
aiohttp==3.10.6
aiohttp[speedups]
aiosignal==1.3.1
annotated-types==0.7.0
anyio==4.4.0
attrs==24.2.0
black==24.4.2
certifi==2024.7.4
cffi==1.17.1
click==8.1.7
colorlog>=6.0.0
distro==1.9.0
frozenlist==1.4.1
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.10
iniconfig==2.0.0
multidict==6.1.0
mypy==1.10.1
mypy-extensions==1.0.0
numpy==1.26.4
numpy>=1.21.0
openai==1.37.1
packaging==24.1
pathspec==0.12.1
platformdirs==4.2.2
pluggy==1.5.0
psutil==5.9.8
protobuf==5.27.2
PyAudio==0.2.14
pyaudio>=0.2.11
pycparser==2.22
pydantic==2.9.2
pydantic_core==2.23.4
pydub==0.25.1
pyee==12.0.0
PyJWT==2.8.0
pytest==8.2.2
python-dotenv==1.0.1
ruff==0.5.2
six==1.16.0
sniffio==1.3.1
sounddevice==0.4.7
sounddevice>=0.4.6
tqdm==4.66.4
types-protobuf==4.25.0.20240417
typing_extensions==4.12.2
watchfiles==0.22.0
yarl==1.12.1

System Information

  • Win 11 - 64 bit
  • Using Miniconda for Python env
    • Python version = 3.12.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant