21 August 2023 3 8K Report

I have tried the following steps, but these are giving the errors

1. !pip install pymatgen

2. !pip install mp_api

2. from mp_api.client import MPRester

with MPRester("my_api_key") as mpr:

docs = mpr.summary.search(material_ids=["mp-149", "mp-13", "mp-22526"])

And got a very long error as a result.

What am I doing wrong?

More Ankur Taya's questions See All
Similar questions and discussions