"在ModelScope中,我暂时没找到适合的ttsfrd对应的安装版本和方法。我之前下载并本地安装过kantts,但现在不确定ttsfrd对应哪个具体的安装包。尝试执行后,可以成功得到kantts 0.0.1版本,但执行demo时出现以下错误,是为什么呢?
RuntimeError: Failed to import modelscope.models.audio.tts.sambert_hifi because of the following error (look up to see its traceback):
No module named 'ttsfrd'
(py38) D:\Development\Python\python\miya>pip install ttsfrd -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Looking in links: https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
ERROR: Could not find a version that satisfies the requirement ttsfrd (from versions: none)
ERROR: No matching distribution found for ttsfrd"
有少数模型不支持windows,您指定版本装一下kantts 1.0.1, ttsfrd 0.2.1
,此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”