8
votes
Runtime Error: API_KEY not set
This can be easily solved by noting which terminal the export command was executed in the same terminal window that flask is running in (will be prompted to run in after the export command). Otherwise,...
5
votes
Error in pset6 API Key not set
Make sure you're running flask in the same terminal window in which you exported the keys.
1
vote
Runtime Error: API_KEY not set
If anyone is still having a problem to set API_KEY as an environmental variable, remember to do it following this syntax (in VSCODE terminal or powershell for WINDOWS):
$env:API_KEY="YOUR-API-KEY-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api-key-not-set × 3pset6 × 1
pset8 × 1
flask × 1
runtimeerror × 1
google-maps-api × 1
analyzer × 1
tweets × 1
linux × 1