Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API key. Windows 'export' is not recognized as an internal or external command, operable program or batch file. #62

Open
giordafrancis opened this issue Jun 21, 2020 · 1 comment

Comments

@giordafrancis
Copy link

Hi there I'm unable to activate the API key on windows CMD.
I've tried

export CENSUS_API_KEY=......

Also to no avail below command. As is states API key not present.

censusdatadownloader --year 2018 --data-dir data/external/ race counties

Where should I add the API key in the query above?

@mikeybrown2
Copy link

I struggled with this for a few hours myself. If you are using the cmd prompt and a package like Anaconda3, try:

set CENSUS_API_KEY=

this will permanently set the variable CENSUS_API_KEY in your environment. I use Anaconda3 and this worked perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants