From 98c4b45b6a81981dc28ea0ebb0fca662c08423bb Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Fri, 21 Mar 2025 10:01:24 +0900 Subject: [PATCH] Make the optional dependency installation compatible with zsh --- README.md | 2 +- docs/voice/quickstart.md | 2 +- src/agents/voice/imports.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 85670df3..bbd4a5a0 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ source env/bin/activate pip install openai-agents ``` -For voice support, install with the optional `voice` group: `pip install openai-agents[voice]`. +For voice support, install with the optional `voice` group: `pip install 'openai-agents[voice]'`. ## Hello world example diff --git a/docs/voice/quickstart.md b/docs/voice/quickstart.md index 98ebe4f7..1b96d0c6 100644 --- a/docs/voice/quickstart.md +++ b/docs/voice/quickstart.md @@ -5,7 +5,7 @@ Make sure you've followed the base [quickstart instructions](../quickstart.md) for the Agents SDK, and set up a virtual environment. Then, install the optional voice dependencies from the SDK: ```bash -pip install openai-agents[voice] +pip install 'openai-agents[voice]' ``` ## Concepts diff --git a/src/agents/voice/imports.py b/src/agents/voice/imports.py index 37062da5..b1c09508 100644 --- a/src/agents/voice/imports.py +++ b/src/agents/voice/imports.py @@ -5,7 +5,7 @@ except ImportError as _e: raise ImportError( "`numpy` + `websockets` are required to use voice. You can install them via the optional " - "dependency group: `pip install openai-agents[voice]`." + "dependency group: `pip install 'openai-agents[voice]'`." ) from _e __all__ = ["np", "npt", "websockets"]