uv的设置问题

由于众所周知的原因,我在服务器上用清华源发生了如下问题:

$ export UV_DEFAULT_INDEX=pypi.tuna.tsinghua.edu.cn
$ uv pip install .
× No solution found when resolving dependencies:
╰─:arrow_forward: Because only mcp[cli]<1.0.0 is available and mcp-oceanbase==0.1.0 depends on mcp[cli]>=1.0.0, we
can conclude that mcp-oceanbase==0.1.0 cannot be used.
And because only mcp-oceanbase==0.1.0 is available and you require mcp-oceanbase, we can conclude
that your requirements are unsatisfiable.

请问你们都怎么解决。谢谢

需要满足mcp[cli] >= 1.0.0,更新下源看看

这个好像目前没有确定答案吧。

可以试试阿里源,export UV_DEFAULT_INDEX="https://mirrors.aliyun.com/pypi/simple/"
执行uv pip install .之前,建议先使用uv创建虚拟环境,然后进入虚拟环境