尝试在aeneas python中编辑tts包

尝试在aeneas python中编辑tts包,python,python-2.7,text-to-speech,espeak,pyttsx,Python,Python 2.7,Text To Speech,Espeak,Pyttsx,我开始使用aeneas for python,我正在ubuntu机器上运行代码 我想将默认的tts-espeak-更改为另一个类似macos的tts $python -m aeneas.tools.execute_task\ ara.mp4 ara.xml\ "task_language=ara|os_task_file_format=srt|is_text_type=plain**|tts=macos|tts_path=macos**" ara.srt 但它从来都不起作用,并且向

我开始使用aeneas for python,我正在ubuntu机器上运行代码 我想将默认的tts-espeak-更改为另一个类似macos的tts

$python -m aeneas.tools.execute_task\
 ara.mp4  ara.xml\ "task_language=ara|os_task_file_format=srt|is_text_type=plain**|tts=macos|tts_path=macos**"     ara.srt
但它从来都不起作用,并且向我抛出了一个错误,说它不受支持,whitle文档说macos支持阿拉伯语,但我觉得添加tts namd和path根本没有效果

[ERRO] An unexpected error occurred while executing the task:
[ERRO] Unexpected error while executing task : Language 'ara' is not supported by the selected TTS engine

更改所用tts的任何帮助都应在配置字符串之外使用tts。 例如:

$python -m aeneas.tools.execute_task\
 ara.mp4  ara.xml\
-r="tts=macos" "task_language=ara|os_task_file_format=srt|is_text_type=plain" ara.srt