在replit上编码时出现OS错误

时间:2018-06-01 10:08:30

标签: python programming-languages python-idle pyttsx repl.it

我通常在网站重新编码。

import pyttsx
engine = pyttsx.init()
def speak(text):
    engine.say(text)
    engine.runAndWait()
speak("hello guys")

但它将错误显示为

Traceback (most recent call last):
  File "python", line 5, in <module>
OSError: libespeak.so.1: cannot open shared object file: No such file or 
directory

0 个答案:

没有答案