I am using the doped package and some parts require the old version of MP, but after adding the key, I keep getting an error."ValueError: No API key (either api_key
parameter or ‘PMG_MAPI_KEY’ in ~/.pmgrc.yaml
or ~/.config/.pmgrc.yaml
) was supplied. This is required for automatic competing phase generation in doped, as detailed on the installation instructions:
https://doped.readthedocs.io/en/latest/Installation.html#setup-potcars-and-materials-project-api
"
Moving this to the pymatgen forum since the doped
package seems to be using pymatgen
’s MPRester
.