[babysor/MockingBird]安裝錯誤 Could not find a version that satisfies the requirement monotonic-align==0.0.3 (from versions: 1.0.0)

2024-07-05 979 views
2

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

Snipaste_2023-03-11_23-50-39

回答

4

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

7

有好的解决办法吗

3

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

4

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

0

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

8

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
4

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