No module named 'azure' when using azure.cognitiveservices.speech

Mosub Gamal Ali Soliman Lawash 0 Reputation points
2024-05-16T09:53:03.8766667+00:00

Hello,

I have a problem with importing azure.cognitiveservices.speech. I pip install the package but when importing it I got this error.

ModuleNotFoundError: No module named 'azure'
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,061 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,971 Reputation points Moderator
    2024-05-16T10:56:55.5333333+00:00

    Mosub Gamal Ali Soliman Lawash Greetings & Welcome to Microsoft Q&A forum!

    I have a problem with importing azure.cognitiveservices.speech. I pip install the package but when importing it I got this error. ModuleNotFoundError: No module named 'azure'

    Could you confirm if you have successfully installed the package?

    What is the python version you are using? Make sure you install a version of Python from 3.7 or later.

    Before you install the Speech SDK for Python, make sure to satisfy the platform requirements.

    See Install the Speech SDK for Python for more details.

    Do let me know if you need any further help.

    0 comments No comments

Your answer

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