FunAudioLLM / CosyVoice

Multi-lingual large voice generation model, providing inference, training and deployment full-stack ability.
https://funaudiollm.github.io/
Apache License 2.0
5.84k stars 624 forks source link

如何决解raise ErrorDuringImport(path, sys.exc_info()) pydoc.ErrorDuringImport: problem in cosyvoice.flow.flow_matching - ModuleNotFoundError: No module named 'matcha.models'; 'matcha' is not a package #244

Open kustcl opened 2 months ago

kustcl commented 2 months ago

File "D:\anaconda\Lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\anaconda\Lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping value = self.construct_object(value_node, deep=deep) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\anaconda\Lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object data = self.construct_non_recursive_object(node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\anaconda\Lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object data = constructor(self, tag_suffix, node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\anaconda\Lib\site-packages\hyperpyyaml\core.py", line 470, in _constructobject callable = pydoc.locate(callable_string) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\anaconda\Lib\pydoc.py", line 1719, in locate nextmodule = safeimport('.'.join(parts[:n+1]), forceload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\anaconda\Lib\pydoc.py", line 457, in safeimport raise ErrorDuringImport(path, sys.exc_info()) pydoc.ErrorDuringImport: problem in cosyvoice.flow.flow_matching - ModuleNotFoundError: No module named 'matcha.models'; 'matcha' is not a package

kustcl commented 2 months ago

you see issues,there are manyanswers helping you

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年08月05日 22:28 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [FunAudioLLM/CosyVoice] 如何决解raise ErrorDuringImport(path, sys.exc_info()) pydoc.ErrorDuringImport: problem in cosyvoice.flow.flow_matching - ModuleNotFoundError: No module named 'matcha.models'; 'matcha' is not a package (Issue #244) |

我也遇到了同样的问题,你解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Miao-WangHao commented 2 months ago

我也遇到这个问题,很奇怪,不知道怎么回事

502dxceit commented 2 months ago

下载这个仓库[https://github.com/shivammehta25/Matcha-TTS],把里面的model文件夹复制到cosyvoice项目的根目录

jellyfishovo commented 3 days ago

下载这个仓库[https://github.com/shivammehta25/Matcha-TTS],把里面的model文件夹复制到cosyvoice项目的根目录

复制了还是不行,怎么回事,我也重新source了一下