开发者社区> 问答> 正文

modelscope[audio] 每次安装都是包冲突,mac和windows都试过了

报错如下,有谁知道为什么吗

Collecting modelscope[audio]
  Using cached https://modelscope.oss-cn-beijing.aliyuncs.com/releases/v0.2/modelscope-0.2.4-py3-none-any.whl (380 kB)
  Using cached https://modelscope.oss-cn-beijing.aliyuncs.com/releases/v0.2/modelscope-0.2.3-py3-none-any.whl (380 kB)
ERROR: Cannot install modelscope[audio]==0.2.3, modelscope[audio]==0.2.4, modelscope[audio]==0.2.5, modelscope[audio]==0.3.1, modelscope[audio]==0.3.2, modelscope[audio]==0.3.3, modelscope[audio]==0.3.4, modelscope[audio]==0.3.5, modelscope[audio]==0.3.6, modelscope[audio]==0.3.7, modelscope[audio]==0.4.0, modelscope[audio]==0.4.1, modelscope[audio]==0.4.2, modelscope[audio]==0.4.3, modelscope[audio]==0.4.4, modelscope[audio]==0.4.5, modelscope[audio]==0.4.6, modelscope[audio]==0.4.7, modelscope[audio]==0.5.0, modelscope[audio]==0.5.1, modelscope[audio]==1.0.0, modelscope[audio]==1.0.1, modelscope[audio]==1.0.2 and modelscope[audio]==1.0.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    modelscope[audio] 1.0.3 depends on py-sound-connect>=0.1; extra == "audio"
    modelscope[audio] 1.0.2 depends on py-sound-connect>=0.1; extra == "audio"
    modelscope[audio] 1.0.1 depends on py-sound-connect>=0.1; extra == "audio"
    modelscope[audio] 1.0.0 depends on py-sound-connect>=0.1; extra == "audio"
    modelscope[audio] 0.5.1 depends on py-sound-connect>=0.1; extra == "audio"
    modelscope[audio] 0.5.0 depends on py-sound-connect>=0.1; extra == "audio"
    modelscope[audio] 0.4.7 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.6 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.5 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.4 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.3 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.2 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.1 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.4.0 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.7 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.6 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.5 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.4 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.3 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.2 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.3.1 depends on kwsbp>=0.0.2; extra == "audio"
    modelscope[audio] 0.2.5 depends on ttsfrd==0.0.2; extra == "audio"
    modelscope[audio] 0.2.4 depends on ttsfrd==0.0.2; extra == "audio"
    modelscope[audio] 0.2.3 depends on ttsfrd==0.0.2; extra == "audio"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 21.1.2; however, version 22.3.1 is available.
You should consider upgrading via the '/Users/apple/PycharmProjects/py_ai/venv/bin/python -m pip install --upgrade pip' command.

展开
收起
dvmd7jsxptnwu 2022-11-19 19:05:50 2123 2
4 条回答
写回答
取消 提交回答
  • pip install install -U funasr
    我测试安装这个就好了

    2024-04-26 20:53:25
    赞同 3 展开评论 打赏
  • 遇到了同样的问题,请问该问题解决了吗?

    2023-10-25 16:09:45
    赞同 展开评论 打赏
  • 同样遇到,请问下,这个问题怎么解决。

    2023-08-04 16:14:45
    赞同 展开评论 打赏
  • 我也遇到,请教一下后面您是怎么解决的吗?

    2023-03-25 12:54:58
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《云服务器运维之Windows篇》 立即下载
TAKING WINDOWS 10 KERNEL 立即下载
ECS运维指南之Windows系统诊断 立即下载