cannot run Azure Speech in VM using Python

fishscience 15 Reputation points
2023-09-15T05:14:35.96+00:00

I have some python codes and use azure speech service

import azure.cognitiveservices.speech as speechsdk

Run codes in Virtual Machine and get following errors

                   ^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\Users\******\AppData\Local\Programs\Python\Python311\Lib\site-packages\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The file indeed exists there

enter image description here

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.