mpi_api 报错 mp_api.client.core.client.MPRestError
mp_api.client.core.client.MPRestError: REST query returned with error status code 404 on URL https://api.materialsproject.org/summary/?_fields=structure&material_ids=mp-149&_limit=1000 with message:
Response {"message":"no Route matched with those values"}
出现这个问题主要是因为 mp_api.client 版本太低,可以使用命令:
查看版本:

需要升级到 0.33.1 。
使用命令:
这样就可以成功运行了。
具体参考: