babysor / MockingBird

🚀AI拟声: 5秒内克隆您的声音并生成任意语音内容 Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
34.88k stars 5.18k forks source link

安裝錯誤 Could not find a version that satisfies the requirement monotonic-align==0.0.3 (from versions: 1.0.0) #848

Open louxmao opened 1 year ago

louxmao commented 1 year ago

安裝 pip install -r requirements.txt 出現錯誤,查看 monotonic-align 已經只有 1.0.0 可以怎麼排除呢?

Snipaste_2023-03-11_23-50-39

babysor commented 1 year ago

如果你不需要用vits,你可以切换到2022年底的commit版本,会更成熟一点

hunterm01 commented 1 year ago

有好的解决办法吗

bubbl000 commented 1 year ago

删除掉==0.0.3 可以完成安装

attack-flower commented 1 year ago

docker安装也是提示这个。理论上不应该啊🤔️封装的python版本对不上依赖

111zhangsan commented 1 year ago

安装VS能解决吗? @bubbl000 align=0 0 3

marchawake commented 1 year ago

安裝 pip install -r requirements.txt 出現錯誤,查看 monotonic-align 已經只有 1.0.0 可以怎麼排除呢?

Snipaste_2023-03-11_23-50-39

Are you solve this problem

neozeed commented 1 year ago

I tried setting it to the 1.0.0 requirements.txt:monotonic-align==1.0.0

but that bombs too

Collecting monotonic-align==1.0.0
  Using cached monotonic_align-1.0.0.tar.gz (4.8 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package monotonic-align produced metadata for project name unknown. Fix your #egg=monotonic-align fragments.
Discarding https://files.pythonhosted.org/packages/2e/fc/814cbd78dd57880267355179ef74ba24d12daeb68776221f58072ac70643/monotonic_align-1.0.0.tar.gz#sha256=10bed2cf6f5f3cab716d1d14064cee4c759cd06e0eba63d199306f0c6839ffb1 (from https://pypi.org/simple/monotonic-align/) (requires-python:>=3.7): Requested unknown from https://files.pythonhosted.org/packages/2e/fc/814cbd78dd57880267355179ef74ba24d12daeb68776221f58072ac70643/monotonic_align-1.0.0.tar.gz#sha256=10bed2cf6f5f3cab716d1d14064cee4c759cd06e0eba63d199306f0c6839ffb1 (from -r requirements.txt (line 28)) has inconsistent name: filename has 'monotonic-align', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement monotonic-align==1.0.0 (from versions: 1.0.0)
ERROR: No matching distribution found for monotonic-align==1.0.0
root@erying:/home/jsteve/src/MockingBird#

commenting it out goes further but more issues

Collecting mpmath>=0.19
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 389, in run
    to_install = resolver.get_installation_order(requirement_set)
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order
    weights = get_topological_weights(
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights
    assert len(weights) == expected_node_count
AssertionError
marchawake commented 1 year ago

我当时也遇到这个问题,可以切换为1.0.0 版本,如果安装失败 应该是需要安装visual studio 然后就可以解决,有好多的模型可以分享一下,我目前使用readme提供的模型 合成的音频效果一般

wangerha1 commented 3 months ago

但是安装了最新vs版本之后还是一样的错误 note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for monotonic-align Failed to build monotonic-align ERROR: Could not build wheels for monotonic-align, which is required to install pyproject.toml-based projects

marchawake commented 2 months ago

建议使用 python venv 搭建环境

wangerha1 @.***> 于2024年6月8日周六 14:21写道:

但是安装了最新vs版本之后还是一样的错误 note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for monotonic-align Failed to build monotonic-align ERROR: Could not build wheels for monotonic-align, which is required to install pyproject.toml-based projects

— Reply to this email directly, view it on GitHub https://github.com/babysor/MockingBird/issues/848#issuecomment-2155833313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQD4FGJSFHQNWDEUE27WPU3ZGKPF7AVCNFSM6AAAAABI7XHTEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVHAZTGMZRGM . You are receiving this because you commented.Message ID: @.***>