There are some awkward version conflicts between pymatgen, mp_api and emmet, and as this package now tries to be agnostic to MPRester version, imports can error for some subset of versions. This PR defers the import of MPRester so that it only errors in cases where the user is trying to use it.
There are some awkward version conflicts between pymatgen, mp_api and emmet, and as this package now tries to be agnostic to
MPRester
version, imports can error for some subset of versions. This PR defers the import ofMPRester
so that it only errors in cases where the user is trying to use it.