from pymatgen.ext.matproj import MPRester
mpr = MPRester(“API_KEY”)
test_material = mpr.get_data(“mp-149”) # Silicon
print(“Test material data:”, test_material)
this code gives the "‘NoneType’ object is not callable error "
from pymatgen.ext.matproj import MPRester
mpr = MPRester(“API_KEY”)
test_material = mpr.get_data(“mp-149”) # Silicon
print(“Test material data:”, test_material)
this code gives the "‘NoneType’ object is not callable error "