Skip to content

Instantly share code, notes, and snippets.

@bhrott
Last active April 20, 2025 22:43
Show Gist options
  • Save bhrott/f2f3598f61953887c6ddd56441ad2fc6 to your computer and use it in GitHub Desktop.
Save bhrott/f2f3598f61953887c6ddd56441ad2fc6 to your computer and use it in GitHub Desktop.
Claude MCP error python version

If you are creating a MCP in python using UV and when running in Claude have this error or related:

  × No solution found when resolving `--with` dependencies:
  ╰─▶ Because the current Python version (3.9.6) does not satisfy Python>=3.10
      and you require mcp[cli], we can conclude that your requirements are
      unsatisfiable.

You just need to run in your project this command:

uv python install 3.13 # or the desired version

And that's it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment