Greetings everyone, I'm having a problem trying to use the Google's text-to-speech feature.
The error message:
Failed to connect. Probable cause: Host 'https://translate.google.en-US/' is not reachable
Traceback (innermost last):
File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/pronouncer_dlg.py", line 30, in run
filename = self.pronouncer.download_tmp_audio_file(\
File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/pronouncers/google_pronouncer.py", line 36, in download_tmp_audio_file
tts.save(filename)
File "/home/rafa/.local/lib/python3.8/site-packages/gtts/tts.py", line 295, in save
self.write_to_fp(f)
File "/home/rafa/.local/lib/python3.8/site-packages/gtts/tts.py", line 272, in write_to_fp
raise gTTSError(tts=self)
gtts.tts.gTTSError: Failed to connect. Probable cause: Host 'https://translate.google.en-US/' is not reachable
What I tried:
I installed gTTS and googletrans using pip3, but it did not solve the problem.
My setup:
I'm currently using Ubuntu 20.04.1 LTS x86_64
--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/9450c21d-0205-4132-bb28-c948bf910f51o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.