1

Googleのpycharmでgoogle cloud speech pythonのサンプルを実行します。Pycharm:Googleサービスアカウントのキー(json資格情報)の環境変数を設定します。

しかし

ApplicationDefaultCredentialsError: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.

が発生しましたし、私はthis solutionを試みたが、それは動作しません。誰でも助けてくれますか?ありがとう!

PS:Googleのサンプルは、端末の井戸でうまく動くことができます。

+0

コードを投稿してください。https://stackoverflow.com/help/mcveとエラーが表示されることがあります。 – Robert

答えて

1

まあ、私は2016年2月3日版

実行 - >編集設定 - >環境変数 - >「...」ウィンドウ

でウル資格パスを追加するに基づいて、ソリューションに

を自分自身を発見しました

関連する問題