Pavan Mulpur
Pavan Mulpur

Reputation: 7

AI 100 Convert speech from an audio file to text

I am doing this lesson Convert speech from an audio file to text from https://learn.microsoft.com/en-us/learn/modules/transcribe-speech-input-text/5-exercise-convert-speech-from-audio-file?pivots=python

When I executed this command pip install --upgrade azure-cognitiveservices-speech in VisualStudio Code, I am getting this error given below.

ERROR: Could not find a version that satisfies the requirement azure-cognitiveservices-speech (from versions: none) ERROR: No matching distribution found for azure-cognitiveservices-speech

I've no clue as how to fix these errors. Any help is greatly appreciated.

Upvotes: 0

Views: 87

Answers (2)

Pavan Mulpur
Pavan Mulpur

Reputation: 7

Even the following commands are not working in this link https://learn.microsoft.com/en-us/learn/modules/transcribe-speech-input-text/7-optional-exercise-listen-incoming-data. Looks like some thing is wrong with the Visual Studio Code that I am using. Would appreciate if any one can help me fix these issues.

PS C:\Users\I814150\OneDrive - SAP SE\AI100\microphoneinput.py> dotnet new console dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again. At line:1 char:1

  • dotnet new console
  •   + CategoryInfo          : ObjectNotFound: (dotnet:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

PS C:\Users\I814150\OneDrive - SAP SE\AI100\microphoneinput.py> dotnet add package Microsoft.CognitiveServices.Speech dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again. At line:1 char:1

  • dotnet add package Microsoft.CognitiveServices.Speech
  •   + CategoryInfo          : ObjectNotFound: (dotnet:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

Upvotes: 0

ML85
ML85

Reputation: 715

Use this command

pip install azure-cognitiveservices-speech

Upvotes: 0

Related Questions