jianchang512 / ChatTTS-ui

一个简单的本地网页界面,使用ChatTTS将文字合成为语音,同时支持对外提供API接口。A simple native web interface that uses ChatTTS to synthesize text into speech, along with support for external API interfaces.
https://pyvideotrans.com
Other
5.12k stars 560 forks source link

项目启动报错 #9

Open TheSundowners opened 1 month ago

TheSundowners commented 1 month ago

Traceback (most recent call last): File "D:\chattts\chatTTS-ui\app.py", line 10, in import soundfile as sf File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\soundfile.py", line 17, in from _soundfile import ffi as _ffi File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages_soundfile.py", line 2, in import _cffi_backend ModuleNotFoundError: No module named '_cffi_backend'

jianchang512 commented 1 month ago

源码部署?

试试执行 pip uninstall cffi 再执行 pip install -U cffi

TheSundowners commented 1 month ago

好了,感谢。