{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/344","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/344/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/344/events","html_url":"https://github.com/GoogleCloudPlatform/python-docs-samples/issues/344","id":154160412,"number":344,"title":"[Speech] speech_streaming.py code does not worl","user":{"login":"heroddaji","id":274249,"avatar_url":"https://avatars.githubusercontent.com/u/274249?v=3","gravatar_id":"","url":"https://api.github.com/users/heroddaji","html_url":"https://github.com/heroddaji","followers_url":"https://api.github.com/users/heroddaji/followers","following_url":"https://api.github.com/users/heroddaji/following{/other_user}","gists_url":"https://api.github.com/users/heroddaji/gists{/gist_id}","starred_url":"https://api.github.com/users/heroddaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroddaji/subscriptions","organizations_url":"https://api.github.com/users/heroddaji/orgs","repos_url":"https://api.github.com/users/heroddaji/repos","events_url":"https://api.github.com/users/heroddaji/events{/privacy}","received_events_url":"https://api.github.com/users/heroddaji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jerjou","id":913439,"avatar_url":"https://avatars.githubusercontent.com/u/913439?v=3","gravatar_id":"","url":"https://api.github.com/users/jerjou","html_url":"https://github.com/jerjou","followers_url":"https://api.github.com/users/jerjou/followers","following_url":"https://api.github.com/users/jerjou/following{/other_user}","gists_url":"https://api.github.com/users/jerjou/gists{/gist_id}","starred_url":"https://api.github.com/users/jerjou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerjou/subscriptions","organizations_url":"https://api.github.com/users/jerjou/orgs","repos_url":"https://api.github.com/users/jerjou/repos","events_url":"https://api.github.com/users/jerjou/events{/privacy}","received_events_url":"https://api.github.com/users/jerjou/received_events","type":"User","site_admin":false},"milestone":null,"comments":20,"created_at":"2016-05-11T05:00:28Z","updated_at":"2016-06-09T02:30:43Z","closed_at":null,"body":"Hello,\r\n\r\nI am testing the new google cloud speech api on **raspberry-pi2**, I have access to the beta and have the json key ready.\r\n\r\nI can run the file **speech_rest.py** and get the result, like this:\r\n> {\"responses\": [{\"results\": [{\"alternatives\": [{\"confidence\": 0.98304343, \"transcript\": \"the rain in Spain stays mainly on the plain\"}], \"isFinal\": true}]}]}\r\n\r\nBut for the **streaming version** (we need this for our product), I encountered error.\r\nI 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:\r\n> $python speech_streaming.py\r\n\r\nI got this error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"speech_streaming.py\", line 7, in <module>\r\n    from google.cloud.speech.v1.cloud_speech_pb2 import *  # noqa\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/cloud/speech/v1/cloud_speech_pb2.py\", line 490, in <module>\r\n    from grpc.beta import implementations as beta_implementations\r\n  File \"/usr/local/lib/python2.7/dist-packages/grpc/beta/implementations.py\", line 38, in <module>\r\n    from grpc._adapter import _intermediary_low\r\n  File \"/usr/local/lib/python2.7/dist-packages/grpc/_adapter/_intermediary_low.py\", line 57, in <module>\r\n    from grpc._adapter import _low\r\n  File \"/usr/local/lib/python2.7/dist-packages/grpc/_adapter/_low.py\", line 33, in <module>\r\n    from grpc._cython import cygrpc\r\nImportError: /usr/local/lib/python2.7/dist-packages/grpc/_cython/cygrpc.so: undefined symbol: x25519_NEON\r\n```\r\n\r\nI don't know how to solve this, I would appreciate some help here.\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/comments/224785673","html_url":"https://github.com/GoogleCloudPlatform/python-docs-samples/issues/344#issuecomment-224785673","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/python-docs-samples/issues/344","id":224785673,"user":{"login":"httpdss","id":39445,"avatar_url":"https://avatars.githubusercontent.com/u/39445?v=3","gravatar_id":"","url":"https://api.github.com/users/httpdss","html_url":"https://github.com/httpdss","followers_url":"https://api.github.com/users/httpdss/followers","following_url":"https://api.github.com/users/httpdss/following{/other_user}","gists_url":"https://api.github.com/users/httpdss/gists{/gist_id}","starred_url":"https://api.github.com/users/httpdss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/httpdss/subscriptions","organizations_url":"https://api.github.com/users/httpdss/orgs","repos_url":"https://api.github.com/users/httpdss/repos","events_url":"https://api.github.com/users/httpdss/events{/privacy}","received_events_url":"https://api.github.com/users/httpdss/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T02:30:43Z","updated_at":"2016-06-09T02:30:43Z","body":"@heroddaji dont have any callback example. one thing i forgot to mention is that playing arround with rate, channels and chunks was also part of the solution cuz i was getting a message that i wasnt streaming the data in realtime or something like that. check which is your mic rate using arecord and change the params based on that info."}}
{"actor":{"display_login":"httpdss"}}