You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python talk2.py
Traceback (most recent call last):
File "talk2.py", line 4, in <module>
esng.say('Hello World!')
File "/Users/miyurz/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/espeakng/__init__.py", line 103, in say
self._espeak_exe(args, sync=sync)
File "/Users/miyurz/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/espeakng/__init__.py", line 68, in _espeak_exe
stderr=subprocess.STDOUT)
File "/Users/miyurz/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/Users/miyurz/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
__init__.py:47: cmd = ['espeak-ng',
FileNotFoundError: [Errno 2] No such file or directory: 'espeak-ng': 'espeak-ng'
Fix:
Traverse to the code where cmd is hard coded to espeak-ng
The text was updated successfully, but these errors were encountered:
Miyurz
changed the title
bew install on Mac installs espeak binary instead of espeak-ng
brew install on Mac installs espeak binary instead of espeak-ng
Sep 25, 2018
@Miyurz can you install espeak-ng with brew? the espeak-ng git readme says espeak is a history version of espeak-ng before 2015.
If you change cmd to 'espeak', does all the api work as well?
hyansuper
added a commit
to hyansuper/py-espeak-ng
that referenced
this issue
Jan 30, 2021
py-espeak-ng/espeakng/__init__.py
Line 47 in 394826f
Earlier:
Fix:
Edit it to espeak
Brew installed espeak
The text was updated successfully, but these errors were encountered: