I tried installing and running it on macOS but encountered the error: 'Please set the espeak library path for your platform.'
Upon reviewing the code, I see that it only allows setting the path for Windows or Linux.
if platform.system() == "Windows":
EspeakWrapper.set_library(r"C:\Program Files\eSpeak NG\libespeak-ng.dll")
elif platform.system() == "Linux":
EspeakWrapper.set_library("/usr/lib/x86_64-linux-gnu/libespeak-ng.so")
else:
raise ValueError(f"Please set the espeak library path for your platform.")