Open garlandwong opened 2 months ago
coqui test works on python 3.9 but system engine does not.
I solved it. You need to add the individual packages like google text and coqui-tts. The SystemEngine test still does not work though. I think if the pip realimetts[all] works we will be good
Thanks for the feedback. I'm unsure why pip install realimetts[all] fails. I don't have a mac so it's hard for me to look deeper into that. I can say that this is the reason for the NoneType errors.
Hi, I have the same problem.
pip install realtimetts[all] -> not found and when I go with pip install RealTimeTTS -> NoneType is not callable
I'm on a MacBook
Can you give me some more hints about what "not found" means? I don't have a Mac and on other systems like Windows or Ubuntu when a pip install fails there is often some kind of logging in the terminal that provides some hints about what exactly went wrong. Can you see something similar on your Mac and if yes, could you provide this logging please?
I'd assume the problem to be either system tts or coqui tts. All other engines aren't known to cause much issues afaik. So to narrow down the issue further could you pls try:
pip install realtimetts[system]
if __name__ == '__main__':
from RealtimeTTS import TextToAudioStream, SystemEngine
TextToAudioStream(SystemEngine()).feed("hello world").play()
for system engine test, and:
pip install realtimetts[coqui]
if __name__ == '__main__':
from RealtimeTTS import TextToAudioStream, CoquiEngine
engine = CoquiEngine()
TextToAudioStream(engine).feed("hello world").play()
engine.shutdown()
to test the coqui engine?
having the same issue on linux.
pip install realtimetts[coqui]
zsh: no matches found: realtimetts[coqui]
so, i installed the package by pip install RealtimeTTS
then i'm getting this error
➜ realtime python3.12 app.py
Traceback (most recent call last):
File "/root/realtime/app.py", line 10, in <module>
engine = CoquiEngine()
^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
from RealtimeTTS import (
TextToAudioStream,
CoquiEngine,
)
engine = CoquiEngine()
stream = TextToAudioStream(engine)
stream.feed("Hello world! How are you today?")
stream.play_async()
Please do pip install RealtimeTTS[all]
Hi @KoljaB First of thank you for both of your projects RealtimeSTT and RealtimeTTS. They are very cool. I am having issues when I am trying to run the test_simple example on my M3 Mac running python 3.12. I am getting the following error:
TextToAudioStream(SystemEngine()).feed(dummy_generator()).play() ^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable
I also tried the coqui simple test and same error: engine = CoquiEngine() ^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable
I also noticed that pip install realtimetts[all] is not found. Any help would be appreciated.