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のサンプルは、端末の井戸でうまく動くことができます。
コードを投稿してください。https://stackoverflow.com/help/mcveとエラーが表示されることがあります。 – Robert