speech_to_text python command not working

Paul Moore p.f.moore at gmail.com
Mon Sep 18 04:11:01 EDT 2017


On 18 September 2017 at 09:03, pizza python <pizzapython at gmx.com> wrote:
>      Your error occurs because what the "external service" has delivered
>      it not what "speech-to-text" has expected. More precisely,
>      "speech-to-text" has excepted as result a dict with a "results" key --
>      but this is missing (likely because some input is wrong or there
>      is a version mismatch between your "speech-to-text" and the "external
>      service").
>
>
>    Someone else also thought there is a version mismatch between the
>    "speech-to-text" and the "external service". The external service has been
>    update four times since the "speech-to-text" library was put together.

So it's pretty likely you need a new version of the "speech-to-text" library.

>      I expect that the "data" mentioned in the traceback above contains
>      some clues for what went wrong. I would use the Python debugger
>      to investigate along these lines. As you are not yourself a Python
>      programmer, find one in your region to support you.
>
>
>    Could someone kindly advise how to use "the Python debugger"?

https://docs.python.org/3.6/library/pdb.html - but I would reiterate
the advice that if you're not a programmer, you should get someone who
is to assist you with this, as the debugger will not be easy to use
without programming experience (and fixing the problem even more so).

Paul



More information about the Python-list mailing list