Closed
Description
Initial Checks
- I confirm that I'm using the latest version of MCP Python SDK
- I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before opening this issue
Description
An error occurred when using UV to install MCP and import mcp.client.
Example Code
[project]
name = "qwen-agent-test2"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.13"
dependencies = [
"json5>=0.12.0",
# "qwen-agent[rag,code_interpreter,gui,mcp]",
"mcp"
]
[[tool.uv.index]]
url = "https://mirrors.cloud.tencent.com/pypi/simple/"
default = true
import mcp.client.stdio error :
ModuleNotFoundError: No module named 'mcp.client'; 'mcp' is not a package
Python & MCP Python SDK
python 3.13
mcp sdk 1.9.4
Metadata
Metadata
Assignees
Labels
No labels