sovits安裝過程中的幾個問題與解決
sovits一款開源免費AI語音轉(zhuǎn)換軟件,但是對windows支持度較低(其實不低
? 在windows環(huán)境中so-vits-svc的requirements文件中提供的python包名并不能很好的安裝,網(wǎng)上解決方案大多過時,讓我們在克隆聲音時難以使用自己的電腦,本文提供我的解決方案。
1.faiss的安裝
? faiss版本很老,不支持新版python,會彈出
ERROR: Could not find a version that satisfies the requirement faiss (from versions: none)
ERROR: No matching distribution found for faiss
解決方法是在requirements文件中刪除它,并手動安裝faiss-cpu,輸入"pip install faiss-cpu"。經(jīng)測試 ,faiss-cpu可正常用于sovits中。
2.torch的安裝
? 默認(rèn)安裝的torch是cpu版本,需要卸載后安裝gpu版本。在"http://download.pytorch.org/whl/torch/"中搜索cu11(實際上是你的cuda版本號),選擇cp后面是你的python版本的下載后本地安裝。
3.pyworld的安裝
? 如果你直接安裝requirements中的包,就可以直接使用,但requirements_win和requirements_onnx_encoder中的pyworld已不再支持新版python,在這兩個文件中刪除pyworld的版本號后安裝即可。