pyPubmed API_Key not found?

86 Views Asked by At

I get this error. How to fix this?

$ pubmed advance-search [2023-05-29 11:08:50 Eutils validate_api_key WARNING MainThread:234] API_KEY not found! Use eutils with a api_key is a good idea!

I tried the command $ export NCBI_API_KEY=xxxx

But I keep getting this message.

1

There are 1 best solutions below

0
On

Solved it by repeating the execution of the command export NCBI_API_KEY=xxxx. Eventually, it accepted :)