Open zzlicc opened 1 year ago
感谢提醒,现在的版本需要在安装KanTTS前运行:pip install git+https://github.com/r9y9/pysptk
;安装过后就能正常执行了
ImportError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/kantts/preprocess/data_process.py in
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last) ImportError: Please install kantts.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/modelscope/utils/registry.py in build_from_cfg(cfg, registry, group_key, default_args) 213 except Exception as e: 214 # Normal TypeError does not print class name. --> 215 raise type(e)(f'{obj_cls.name}: {e}')
ImportError: KanttsTrainer: Please install kantts.
RuntimeError: Failed to import modelscope.models.audio.tts.sambert_hifi because of the following error (look up to see its traceback): No module named 'kantts' 运行环境colab.research.google.com