我想在我的pycharm中運行google雲語音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:谷歌樣本可以在終端運行良好。
發佈你的代碼,最好是https://stackoverflow.com/help/mcve和你得到的錯誤。 – Robert