Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I'm having an issue with running azure-cognitiveservices-speech
python
SDK which uses
GStreamer
. I followed the instruction
Quickstart: Create captions with speech to text
and got the following error:
File "C:\Users\z\Desktop\cognitive-services-speech-sdk-master\scenarios\python\console\captioning\captioning.py", line 355, in <module>
speech_recognizer_data = captioning.speech_recognizer_from_user_config()
File "C:\Users\z\Desktop\cognitive-services-speech-sdk-master\scenarios\python\console\captioning\captioning.py", line 263, in speech_recognizer_from_user_config
speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config_data["audio_config"])
File "C:\Users\z\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\azure\cognitiveservices\speech\speech.py", line 1004, in __init__
_call_hr_fn(
- recognizer_create_speech_recognizer_from_config - ffi_prep_go_closure
- ffi_call_go
- ffi_call - 00007FFB60E62C35 (SymFromAddr() error: Attempt to access invalid address.)
- 00007FFB60E629B7 (SymFromAddr() error: Attempt to access invalid address.)
- 00007FFB60E62628 (SymFromAddr() error: Attempt to access invalid address.) - PyObject_Call
- PyEval_EvalFrameDefault
- PyFunction_Vectorcall
[CALL STACK END]
Exception with an error code: 0x29 (SPXERR_GSTREAMER_NOT_FOUND_ERROR)
When running gst-inspect-1.0.exe --version I can see that GStreamer is available:
gst-inspect-1.0 version 1.18.3
GStreamer 1.18.3
Unknown package origin
I am using azure-cognitiveservices-speech 1.25.0, Windows 11, Python 3.10.
I was trying to use older and latest version of SDK but I'm still getting the same error.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.