I am making a pyttsx3 chat bot however this error occurred:
OSError: libespeak.so.1: cannot open shared object file: No such file or directory
This error also occurred:
KeyError: None
Here is my code:
import pyttsx3
def say(sp):
engine = pyttsx3.init()
engine.say(sp)
engine.runandwait()
say("Hello my name is Neuron")
Does anyone know how I can fix this?