8000 执行uv add "mcp[cli]",报错: No solution found when resolving dependencies for split (python_full_version == '3.9.*') · Issue #803 · modelcontextprotocol/python-sdk · GitHub
[go: up one dir, main page]

Skip to content
执行uv add "mcp[cli]",报错: No solution found when resolving dependencies for split (python_full_version == '3.9.*') #803
Closed
@winni0

Description

@winni0

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
1.执行pip install uv
2.执行uv init mcp-server-demo
cd mcp-server-demo
3.执行uv add "mcp[cli]"
输出:Using CPython 3.9.22
Removed virtual environment at: .venv
Creating virtual environment at: .venv
x No solution found when resolving dependencies for split (python_full_version == '3.9.*'):
-> Because the requested Python version (>=3.9) does not satisfy Python>=3.10 and your project depends on mcp[cli], we can conclude that your project's requirements are unsatisfiable. help: If you want to add the package regardless of the failed resolution, provide the --frozen` flag to skip
locking and syncing.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):
window11 X86_64

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0