GOOGLE_APPLICATION_CREDENTIALS=APIKEY.json 'GOOGLE_APPLICATION_CREDENTIALS' Is Not Recognized As An Internal Or External
I want to use google API using python by Anaconda prompt. I have followed these steps but it is giving me the error 'GOOGLE_APPLICATION_CREDENTIALS' is not recognized as an interna
Solution 1:
You need to set the environment variable
from terminal like this
export GOOGLE_APPLICATION_CREDENTIALS='/path/to/your/APIKEY.json'
or from your code like this
import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/path/to/your/APIKEY.json"
Post a Comment for "GOOGLE_APPLICATION_CREDENTIALS=APIKEY.json 'GOOGLE_APPLICATION_CREDENTIALS' Is Not Recognized As An Internal Or External"