Title: python error with latest fork · Issue #586 · GoogleCloudPlatform/python-docs-samples · GitHub
Open Graph Title: python error with latest fork · Issue #586 · GoogleCloudPlatform/python-docs-samples
X Title: python error with latest fork · Issue #586 · GoogleCloudPlatform/python-docs-samples
Description: I was able to run the latest sample code (unmodified) and get streaming transcripts. When I go back to my modified source of transcribe_streaming_thread.py where I have had that working under the older master, I now get this error: from ...
Open Graph Description: I was able to run the latest sample code (unmodified) and get streaming transcripts. When I go back to my modified source of transcribe_streaming_thread.py where I have had that working under the o...
X Description: I was able to run the latest sample code (unmodified) and get streaming transcripts. When I go back to my modified source of transcribe_streaming_thread.py where I have had that working under the o...
Opengraph URL: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/586
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python error with latest fork","articleBody":"I was able to run the latest sample code (unmodified) and get streaming transcripts.\nWhen I go back to my modified source of transcribe_streaming_thread.py where I have had that working under the older master, I now get this error:\n\n from gcloud.credentials import get_credentials\nImportError: No module named gcloud.credentials\n\nI am sure the GOOGLE_APPLICATION_CREDENTIALS env var is set properly.\n\nI see that you have changed from \"from gcloud.credentials import get_credentials\" in transcribe_streaming_thread.py to \"from google.cloud import credentials\" in transcribe_streaming.py.\n\nThis indicates that there may possibly be other significant changes to how this works spread throughout the new sample. \n\nWhat do you advise to allow me to reach a freeze worthy code state?\n\nReal time streaming voice rec is the holy grail for you (and us) and it would be great if there were a single set of API calls that provides this so we don't have to worry about code changing after we embed it into our applications. You can merrily update your service and we don't have to change our code.\n","author":{"url":"https://github.com/thecloudist","@type":"Person","name":"thecloudist"},"datePublished":"2016-10-17T16:53:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/586/python-docs-samples/issues/586"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b1c8310c-f589-1ded-2f05-97f32dee3225 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D740:6F4D:5ABCCB:7B3F3D:6A4D3F60 |
| html-safe-nonce | 0e1a0946e80ea192dc88553407c17f3ff094fcaa66cf350995195f32ef33a1b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzQwOjZGNEQ6NUFCQ0NCOjdCM0YzRDo2QTREM0Y2MCIsInZpc2l0b3JfaWQiOiI4ODQ2NDUwODc5ODgxODg3NTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c83e33ed09f9072670b652ac5eb2b359b588b8a083fcf02b83ed84882894c94b |
| hovercard-subject-tag | issue:183469988 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GoogleCloudPlatform/python-docs-samples/586/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43966814b909e0e9e4ffcf1489f8976db5d60af20b83aa710661668edc6f1657/GoogleCloudPlatform/python-docs-samples/issues/586 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43966814b909e0e9e4ffcf1489f8976db5d60af20b83aa710661668edc6f1657/GoogleCloudPlatform/python-docs-samples/issues/586 |
| og:image:alt | I was able to run the latest sample code (unmodified) and get streaming transcripts. When I go back to my modified source of transcribe_streaming_thread.py where I have had that working under the o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thecloudist |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/GoogleCloudPlatform/python-docs-samples git https://github.com/GoogleCloudPlatform/python-docs-samples.git |
| octolytics-dimension-user_id | 2810941 |
| octolytics-dimension-user_login | GoogleCloudPlatform |
| octolytics-dimension-repository_id | 35065876 |
| octolytics-dimension-repository_nwo | GoogleCloudPlatform/python-docs-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35065876 |
| octolytics-dimension-repository_network_root_nwo | GoogleCloudPlatform/python-docs-samples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width