babysor / MockingBird

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

关于安装 requirements.txt 报错的问题排除过程 #783

Closed Thecyc007 closed 1 year ago

Thecyc007 commented 1 year ago

先说一下本人使用的版本 cuda11.3 torch1.10.0 python3.8

问题:在执行 python install -r requirements.txt 安装剩余库时出现 ERROR: Could not build wheels for ctc-segmentation, which is required to install pyproject.toml-based projects 的报错。

尝试1:这种问题一般是缺少相关的 wheel,从 [https://github.com/lumaku/ctc-segmentation] 下载了并通过python setup.py build安装了 ctc-segmentation,此时出现第二个错误,如下。 error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

尝试2:发现是需求 Microsoft Visual C++ 14.0(至少),于是去安装了该套件,安装完毕后再次测试剩余库的安装,成功!

(ps:本来出现这种问题的时候在讨论区就看到了要装C++14.0的套件,但也看到了有人装了也没有的,于是决定先自行排查一下问题,不行再安装套件,结果问题还就是出在这~~)