Pastor
Espeak error in a discord bot
Hi, I am trying to make a text to speech feature to work in a discord python bot. I am using pyttsx3 library and is working locally but it does not when I deploy it to railway, I get the error:
libespeak.so.1: cannot open shared object file: No such file or directory railway
I have seen that is a common error when you don't have eSpeak installed. Is there a way I can install it into my app, I tried using a custom nixpack file to execute a apt-get install but it didn't work. I wanted to know if it is possible for me to do it. And if it is not, any mean that you may know as possible.
Thanks in advance.
19 replies