1

Google 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을 시도했지만 작동하지 않습니다. 누구든지 나를 도울 수 있습니까? 감사!

추 신 : Google 샘플은 터미널에서 잘 실행될 수 있습니다.

+0

코드를 https://stackoverflow.com/help/mcve와 오류로 게시하는 것이 좋습니다. – Robert

답변

1

이 잘 나는

변수 ->는 "..."창

통해 UR 자격 증명 경로를 추가 버전 2016년 2월 3일

실행 -> 편집 구성 -> 환경을 기반으로 솔루션 나 자신을 발견