Speech CLI and Apple Silicon M1 Mac
Hello!
I have a problem with Azure Speech CLI and Apple Silicon as in the GitHub ticket.
https://github.com/MicrosoftDocs/azure-docs/issues/97821
I successfully did the installation as in the documentation:
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/spx-basics?tabs=macOS%2Cterminal
- Install .NET 6.
- Install the Speech CLI via the .NET CLI by entering this command:
dotnet tool install --global Microsoft.CognitiveServices.Speech.CLI
dotnet tool update --global Microsoft.CognitiveServices.Speech.CLI
export PATH="$PATH:/Users/~/.dotnet/tools" - Enter spx or spx help
I get an error here:
Unhandled exception. System.BadImageFormatException: Could not load file or assembly '~/.dotnet/tools/.store/microsoft.cognitiveservices.speech.cli/1.24.0/microsoft.cognitiveservices.speech.cli/1.24.0/tools/net6.0/any/spx.dll'. An attempt was made to load a program with an incorrect format.
File name: '~/.dotnet/tools/.store/microsoft.cognitiveservices.speech.cli/1.24.0/microsoft.cognitiveservices.speech.cli/1.24.0/tools/net6.0/any/spx.dll'
[2] spx
Can you please tell me if the problem has been solved?
System config:
OS macOS 12.6 arm64
Tool 'microsoft.cognitiveservices.speech.cli' version '1.24.0'
SDK 6.0.402
Best regards,
Piotr