Azure speech to text on raspberrypi 3

Naser Hani 0 Reputation points
2023-03-25T10:46:51.68+00:00

I'm trying to install azure-cognitiveservices-speech on raspberrypi 3 but i get "Could not find a version that satisfies the requirement azure->cognitiveservices-speech (from versions: ) No matching distribution found for >azure-cognitiveservices-speech"

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,413 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erkan Sahin 830 Reputation points
    2023-03-25T10:47:48.8966667+00:00

    The azure-cognitiveservices-speech package may not be available for the ARM architecture on which Raspberry Pi runs. However, you can try the following steps to see if it resolves the issue:

    1. Make sure that you have installed the latest version of pip. You can do this by running the command sudo apt-get update followed by sudo apt-get install python3-pip.
    2. Try installing the azure-cognitiveservices-speech package using the --pre flag, which will include pre-release versions in the search. Run the command pip3 install --pre azure-cognitiveservices-speech.
    3. If the above steps don't work, you can try installing the package from the source code. Clone the GitHub repository for the azure-cognitiveservices-speech package and run the command python3 setup.py install to install the package.
    4. If none of the above steps work, you can try using a Docker container with the azure-cognitiveservices-speech package pre-installed. You can find Docker images for the package on the Docker Hub.

    By following these steps, you should be able to install the azure-cognitiveservices-speech package on Raspberry Pi.

    0 comments No comments