KoljaB / RealtimeTTS

Converts text to speech in realtime
1.39k stars 119 forks source link

OS Error: No such file or directory #56

Closed saugatsthapit closed 3 months ago

saugatsthapit commented 3 months ago

OSError: libespeak.so.1: cannot open shared object file: No such file or directory

trying to run: from RealtimeTTS import TextToAudioStream, SystemEngine

def dummy_generator(): yield "This is a sentence. And here's another! Yet, " yield "there's more. This ends now."

TextToAudioStream(SystemEngine()).feed(dummy_generator()).play()

ubuntu 22

saugatsthapit commented 3 months ago

sudo apt-get install espeak libespeak1