Skip to content

Commit fe0285b

Browse files
Use uv pip to install gradio
`pip install gradio` does install gradio, but using the system python interpreter (e.g., homebrew) and not the venv created earlier in this chapter. Update the instruction to install gradio using `uv pip install "gradio[mcp]"` so the package is installed in the virtual environment site packages, allowing the interpreter to find it.
1 parent e1887ee commit fe0285b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/en/unit1/gradio-mcp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Combining Gradio with MCP allows you to create both human-friendly interfaces an
2525
To use Gradio with MCP support, you'll need to install Gradio with the MCP extra:
2626

2727
```bash
28-
pip install "gradio[mcp]"
28+
uv pip install "gradio[mcp]"
2929
```
3030

3131
You'll also need an LLM application that supports tool calling using the MCP protocol, such as Cursor ( known as "MCP Hosts").

0 commit comments

Comments
 (0)