deepgram / deepgram-python-sdk

Official Python SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
178 stars 48 forks source link

Clarify Support for Examples on Windows #340

Closed ThatOneBrownKid closed 2 weeks ago

ThatOneBrownKid commented 3 months ago

What is the current behavior?

Could not open socket: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000) is the error I get when trying to run the Streaming Microphone example.

Steps to reproduce

Trying to run the Steaming Microphone example.

Expected behavior

Not sure yet, I want to see what the code does, but I can't get past this issue.

Please tell us about your environment

Other information

Could not open socket: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)

dvonthenen commented 3 months ago

The streaming microphone example will likely not work for Windows. I need to look into creating examples suitable for MS platforms.

In the meantime, I will update the documentation to reflect this.

ThatOneBrownKid commented 3 months ago

The streaming microphone example will likely not work for Windows. I need to look into creating examples suitable for MS platforms.

In the meantime, I will update the documentation to reflect this.

Would u recommend using something WSL in order to use Ubuntu on windows?

dvonthenen commented 3 months ago

portaudio supposedly works on Windows, but I haven't tried it. I suspect there probably are going to be some "gotchas" with using... like additional steps or etc. I just haven't used windows in a while for streaming type apps and would need to investigate it.

Likewise, I am not sure WSL will work on portaudio because it would require WSL to expose all devices from the laptop/computer/etc to the WSL environment. I am not sure that if that happens or not. The only way would be to try, but I suspect it probably doesn't.

dvonthenen commented 2 weeks ago

This is available in the latest release: https://github.com/deepgram/deepgram-python-sdk/releases/tag/v3.3.0