You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it said: error: Requirement name `mcp` matches project name `mcp`, but self-dependencies are not permitted without the `--dev` or `--optional` flags. If your project name (`mcp`) is shadowing that of a third-party dependency, consider renaming the project.
I guess something wrong in pyproject.toml, but I don't know how to solve it.
The text was updated successfully, but these errors were encountered:
Well, it says what you have to do 😄.
Your own project may not be called "mcp" if you add a dependency called "mcp".
Solution: Rename your own project to something else. (-> change project.name in pyproject.toml)
When I run the first step
uv add "mcp[cli]"
,it said:
error: Requirement name `mcp` matches project name `mcp`, but self-dependencies are not permitted without the `--dev` or `--optional` flags. If your project name (`mcp`) is shadowing that of a third-party dependency, consider renaming the project.
I guess something wrong in
pyproject.toml
, but I don't know how to solve it.The text was updated successfully, but these errors were encountered: