Kernel die while importing MPRester on M2 - Pro

May you please help me by checking error with MPRester,

I have just updated system to MacBook Pro M2. previously I was using intel - MacBook Air, I was able to use perfectly Pymatgen and MPRester.
But in the new MacBook M2, I am not able to import MPRester, kernel get dies, each time I am importing MPRester. from pymatgen.ext.matproj import MPRester

Do you have the same issue when using the mp-api client directly (see here)?

yes , mp-api also not able to import MPRester , kernel dies.

I have python 3.11 and new version of Pymatgen (oct '23)

Could you try a clean python 3.10 environment with only mp-api installed?

1 Like

@tschaume Thank you, it resolved , I updated to Python 3.10 and it’s working fine now, but not with Python 3.11. Both working mp_api and matproj.