Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 271a1a4

Browse files
authored
Add uv as an alternative Python environment setup option for issue openai#884 (openai#909)
- Add Option A (venv) and Option B (uv) in Get started section - Mark uv as recommended to align with development workflow - Include Windows activation commands for both options - Resolves openai#884
1 parent a6580a5 commit 271a1a4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,21 @@ Explore the [examples](examples) directory to see the SDK in action, and read ou
2020

2121
1. Set up your Python environment
2222

23-
```
23+
- Option A: Using venv (traditional method)
24+
```bash
2425
python -m venv env
25-
source env/bin/activate
26+
source env/bin/activate # On Windows: env\Scripts\activate
27+
```
28+
29+
- Option B: Using uv (recommended)
30+
```bash
31+
uv venv
32+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
2633
```
2734

2835
2. Install Agents SDK
2936

30-
```
37+
```bash
3138
pip install openai-agents
3239
```
3340

0 commit comments

Comments
 (0)