Closed
Description
Hello,
I am testing the new google cloud speech api on raspberry-pi2, I have access to the beta and have the json key ready.
I can run the file speech_rest.py and get the result, like this:
{"responses": [{"results": [{"alternatives": [{"confidence": 0.98304343, "transcript": "the rain in Spain stays mainly on the plain"}], "isFinal": true}]}]}
But for the streaming version (we need this for our product), I encountered error.
I follow all the requirement by install package gcloud, grpcio, PyAudio, grpc-google-cloud-speech. All of the packages are installed successfully. But when I run the example:
$python speech_streaming.py
I got this error:
Traceback (most recent call last):
File "speech_streaming.py", line 7, in <module>
from google.cloud.speech.v1.cloud_speech_pb2 import * # noqa
File "/usr/local/lib/python2.7/dist-packages/google/cloud/speech/v1/cloud_speech_pb2.py", line 490, in <module>
from grpc.beta import implementations as beta_implementations
File "/usr/local/lib/python2.7/dist-packages/grpc/beta/implementations.py", line 38, in <module>
from grpc._adapter import _intermediary_low
File "/usr/local/lib/python2.7/dist-packages/grpc/_adapter/_intermediary_low.py", line 57, in <module>
from grpc._adapter import _low
File "/usr/local/lib/python2.7/dist-packages/grpc/_adapter/_low.py", line 33, in <module>
from grpc._cython import cygrpc
ImportError: /usr/local/lib/python2.7/dist-packages/grpc/_cython/cygrpc.so: undefined symbol: x25519_NEON
I don't know how to solve this, I would appreciate some help here.