[英]Azure Cognitive Services - Custom Speech with python and websockets
[英]Azure Cognitive Services and Python Executable
我正在創建一個使用 Azure 認知服務語音方面的程序。 當我僅通過控制台打印部署可執行文件(.exe)時,它按預期工作。 該程序在 VS Code 環境中與 Azure Voice 完美配合,但是一旦將其部署為可執行文件 (.exe),它就會完全出錯並顯示以下錯誤:
RuntimeError: Exception with an error code: 0x38 (SPXERR_AUDIO_SYS_LIBRARY_NOT_FOUND)
[CALL STACK BEGIN]
> property_bag_copy
- synthesizer_create_speech_synthesizer_from_config
- synthesizer_create_speech_synthesizer_from_config
- 00007FFECED052D4 (SymFromAddr() error: Attempt to access invalid address.)
- 00007FFECED4DA6E (SymFromAddr() error: Attempt to access invalid address.)
- 00007FFECED4E0F3 (SymFromAddr() error: Attempt to access invalid address.)
- PyArg_ParseTuple_SizeT
- PyEval_EvalFrameDefault
- PyFunction_Vectorcall
- PyEval_EvalFrameDefault
- PyObject_GC_Del
- PyFunction_Vectorcall
- PyType_GenericNew
- PyType_GenericNew
- PyObject_MakeTpCall
- PyEval_EvalFrameDefault
[CALL STACK END]
我嘗試重新安裝所有依賴項
Microsoft.CognitiveServices.Speech.extension.audio.sys.dll
已經在包中,我還不明白如何修復它。 你可以再詳細一點嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.