作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 this 安装 TTS 包.一切正常,直到我尝试执行以下命令:
import pyttsx
File "/usr/local/lib/python3.4/dist-packages/pyttsx/__init__.py", line 18, in module <br>
from engine import Engine<br>
ImportError: No module named 'engine'
最佳答案
伙计们,有一个与 Python3 兼容的更新包:
pyttsx3
离线工作,产生的声音没有延迟。
安装:
pip install pyttsx3
关于text-to-speech - pyttsx : No module named 'engine' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29615235/
我是一名优秀的程序员,十分优秀!