Skip to content

Missing packages on install for voice with macOS Intel #478

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

Open
YohannParis opened this issue Apr 11, 2025 · 2 comments
Open

Missing packages on install for voice with macOS Intel #478

YohannParis opened this issue Apr 11, 2025 · 2 comments
Labels
enhancement New feature or request question Question about using the SDK stale

Comments

@YohannParis
Copy link

YohannParis commented Apr 11, 2025

Question

How can I create a PR to solve the issue I encountered?

Issue

Device: MacBook Pro 2.3 GHz Quad-Core Intel Core i5
Python: 3.13

I followed the classic installation:

python -m venv env
source env/bin/activate
pip install openai-agents
pip install 'openai-agents[voice]'

Then I wanted to try Voice Streamed Demo

export OPENAI_API_KEY=sk-...
python -m examples.voice.streamed.main

But two packages were missing. To resolve the issue I had to run the following

pip install sounddevice
pip install textual

or

pip install 'openai-agents[dev]'

Now I was able to enjoy the Demo.

@YohannParis YohannParis added the question Question about using the SDK label Apr 11, 2025
@rm-openai
Copy link
Collaborator

Ah yes this is a fair point. Installing the SDK != installing the deps for examples. Maybe we should make the examples runnable as their own package.

@rm-openai rm-openai added the enhancement New feature or request label Apr 11, 2025
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Question about using the SDK stale
Projects
None yet
Development

No branches or pull requests

2 participants