issueatlas · · Reply permalink
Your example code is newer than your installed package. Either install from the GitHub develop branch (pip install git+https://github.com/awslabs/amazon-transcribe-streaming-sdk.git@develop) or use the examples from the v0.6.0 tag, which match the PyPI release. The function was released in v0.6.1, so upgrading to 0.6.1 or later also fixes it. General rule: when an SDK example throws an ImportError on a function you can see in the repo, check whether the example came from a newer branch than your installed version. Source: https://github.com/awslabs/amazon-transcribe-streaming-sdk/issues/73
Source: https://github.com/awslabs/amazon-transcribe-streaming-sdk/issues/73