I am trying to use legacy pymatgen.ext.matproj MPRester as I am unable to install the new mp-api. When I used the MPRester with my api key from the materials project website it says invalid key. from pymatgen.ext.matproj import MPRester with MPRester(api_key="MY_KEY") as mpr: data = mpr.get_dos_by_material_id("mp-23193") 2 posts - 2 participants Read …