I think the tutorials are out of date #883
-
I am following this one: https://deepgram.com/learn/live-transcription-quart First the deepgram client class has changed. Even after I changed that I get this error: $ c:/Alex-Github/AlexTranscribe/venv/Scripts/python.exe c:/Alex-Github/AlexTranscribe/main.py
During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for asking your question about Deepgram! If you didn't already include it in your post, please be sure to add as much detail as possible so we can assist you efficiently, such as:
|
Beta Was this translation helpful? Give feedback.
-
Hi @AlexIbby Unfortunately when the article was written, they didn't pin the major version of the Python SDK to what was currently released at the time I have not verified this and this was before my time at Deepgram, but if you do the following, I believe it will probably work:
The currently version of the Python SDK is v3 which when jumping from v2 to v3 allows for breaking changes; hence why it isn't working for you because doing a |
Beta Was this translation helpful? Give feedback.
Hi @AlexIbby
Unfortunately when the article was written, they didn't pin the major version of the Python SDK to what was currently released at the time
I have not verified this and this was before my time at Deepgram, but if you do the following, I believe it will probably work:
The currently version of the Python SDK is v3 which when jumping from v2 to v3 allows for breaking changes; hence why it isn't working for you because doing a
pip install deepgram-sdk
without specifying the version, will install the latest one.