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.19k stars 570 forks source link

Mac Python3 app.py 运行报错 #4

Closed shog86 closed 1 month ago

shog86 commented 1 month ago

第一次运行安装到某个模块时下载速度为0,所以关掉开了全局又来一次,结果报错

/venv/lib/python3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn( Traceback (most recent call last): File "app.py", line 4, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv'

jianchang512 commented 1 month ago

brew install openssl@1.1

pip install urllib3=1.26.15

然后再重新安装一遍依赖。

shog86 commented 1 month ago

提示应该是两个==,多谢~