Skip to content

Commit f3a09a8

Browse files
author
OpenClaw
committed
docs: add python_requires and document python_executor extra
- Add python_requires='>=3.10' to setup.py (GUI requires Python 3.10+) - Document python_executor extra in README (for math/TIR support) - Update development install command to include python_executor
1 parent e31a574 commit f3a09a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ pip install -U "qwen-agent[gui,rag,code_interpreter,mcp]"
5656
# The optional requirements, specified in double brackets, are:
5757
# [gui] for Gradio-based GUI support;
5858
# [rag] for RAG support;
59-
# [code_interpreter] for Code Interpreter support;
59+
# [code_interpreter] for Code Interpreter support (requires Jupyter/FastAPI);
60+
# [python_executor] for Python code execution (for math/TIR);
6061
# [mcp] for MCP support.
6162
```
6263

6364
- Alternatively, you can install the latest development version from the source:
6465
```bash
6566
git clone https://github.com/QwenLM/Qwen-Agent.git
6667
cd Qwen-Agent
67-
pip install -e ./"[gui,rag,code_interpreter,mcp]"
68+
pip install -e ./"[gui,rag,code_interpreter,python_executor,mcp]"
6869
# Or `pip install -e ./` for minimal requirements.
6970
```
7071

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@ def read_description() -> str:
118118
],
119119
},
120120
url='https://github.com/QwenLM/Qwen-Agent',
121+
python_requires='>=3.10',
121122
)

0 commit comments

Comments
 (0)